Coder Social home page Coder Social logo

keyitdev / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
353.0 353.0 37.0 10.25 MB

My personal build of dotfiles using i3.

License: GNU General Public License v3.0

Shell 2.39% Lua 10.07% CSS 87.54%
alacritty archlinux dotfiles i3 i3-gaps i3-gaps-dotfiles kitty linux polybar rice rofi unixporn zsh

dotfiles's Introduction

Keyitdev Dotfiles

The Arch Linux & i3wm dotfiles!

This is the third version of my dotfiles, as I gain more experience I am able to create more profesional dotfiles.

However, if you want to check older version see v2 branch.

Information

Rice Showcase

Automatic installation

git clone -b v3 --depth 1 https://www.github.com/keyitdev/dotfiles.git
cd dotfiles
chmod +x install-on-arch.sh
./install-on-arch.sh

Warning: Remember to always read the scripts you run from the internet first.

Note: Last time I tested the installation script on 31 July 2023, Everything worked fine.

Showcase

neofetch

vsc & ncmpcpp & cava

rofi & dunst

More screenshots

nemo & nvim & ranger

i3lock-color

sddm

Manual Installation

  1. Clone this repository.

    git clone -b v3 --depth 1 https://www.github.com/keyitdev/dotfiles.git
  2. Install an AUR helper (for example, yay in "$HOME"/.srcs).

    git clone https://aur.archlinux.org/yay.git "$HOME"/.srcs/yay
    cd "$HOME"/.srcs/yay/ && makepkg -si
  3. Install dependencies.

    yay -S --needed acpi alsa-utils base-devel curl git pulseaudio pulseaudio-alsa xorg xorg-xinit alacritty btop code dunst feh ffcast firefox i3-gaps i3lock-color i3-resurrect libnotify light mpc mpd ncmpcpp nemo neofetch neovim oh-my-zsh-git pacman-contrib papirus-icon-theme picom polybar ranger rofi scrot slop xclip zathura zathura-pdf-mupdf zsh   
  4. Create default directories.

    mkdir -p "$HOME"/.config
    mkdir -p  /usr/local/bin
    mkdir -p  /usr/share/themes
    mkdir -p "$HOME"/Pictures/wallpapers
  5. Copy configs, scripts, fonts, wallpaper, vsc configs, zsh config.

    cp -r ./config/* "$HOME"/.config
    sudo cp -r ./scripts/* /usr/local/bin
    sudo cp -r ./fonts/* /usr/share/fonts
    cp -r ./wallpapers/* "$HOME"/Pictures/wallpapers
    sudo cp ./keyitdev.zsh-theme /usr/share/oh-my-zsh/custom/themes
    cp ./.zshrc "$HOME"
  6. Make Light executable, set zsh as default shell, update nvim extensions, refresh font cache.

    sudo chmod +s /usr/bin/light
    chsh -s /bin/zsh
    sudo chsh -s /bin/zsh
    nvim +PackerSync
    fc-cache -fv
  7. Install vsc theme.

    code --install-extension zhuangtongfa.Material-theme
    cp ./vsc/settings.json "$HOME"/.config/Code\ -\ OSS/User
  8. Install gtk theme.

    mkdir -p "$HOME"/.config/gtk-4.0
    git clone https://github.com/Fausto-Korpsvart/Rose-Pine-GTK-Theme
    sudo cp -r ./Rose-Pine-GTK-Theme/themes/RosePine-Main-BL  /usr/share/themes/RosePine-Main
    sudo cp -r ./Rose-Pine-GTK-Theme/themes/RosePine-Main-BL/gtk-4.0/* "$HOME"/.config/gtk-4.0
  9. Install sddm and sddm flower theme.

    yay -S --needed qt5-graphicaleffects qt5-quickcontrols2 qt5-svg sddm
    sudo git clone https://github.com/keyitdev/sddm-flower-theme.git /usr/share/sddm/themes/sddm-flower-theme
    sudo cp /usr/share/sddm/themes/sddm-flower-theme/Fonts/* /usr/share/fonts/
    echo "[Theme]
    Current=sddm-flower-theme" | sudo tee /etc/sddm.conf

Detailed information

Dependencies

Base: acpi alsa-utils base-devel curl git pulseaudio pulseaudio-alsa xorg xorg-xinit

Required: alacritty btop code dunst feh ffcast firefox i3-gaps i3lock-color i3-resurrect libnotify light mpc mpd ncmpcpp nemo neofetch neovim oh-my-zsh-git pacman-contrib papirus-icon-theme picom polybar ranger rofi scrot slop xclip zathura zathura-pdf-mupdf zsh

Sddm: qt5-graphicaleffects qt5-quickcontrols2 qt5-svg sddm

Emoji fonts:: noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra

Used programs

Used themes

Fonts

Keybinds

These are the basic keybinds. Read through the i3 config for more keybinds.

Note: Win refers to the Super/Mod key.

Keybind Function
Win + Enter Launch terminal (alacritty)
Win + Shift + Q Close window
Win + Q Stacking layout
Win + W Tabbed layout
Win + E Default layout
Win + R Resize mode
Win + T Restore layout
Win + Y Save layout
Win + A Rofi open windows menu
Win + S Rofi full menu
Win + D Rofi menu
Win + Z Rofi bookmarks
Win + X Rofi powermenu
Win + C Rofi screenshot script
Win + G Gaps settings
Win + V Set vertical orientation
Win + H Set horizontal orientation
Win + I Lock screen
Win + O Show polybar
Win + P Hide polybar
Win + B Move workspace to another monitor
Win + N Dual monitor mode
Win + M Single monitor mode
Win + arrows (jkl;) Resizing, moving windows
Win + Shift + E Exit i3
Win + Shift + R Restart i3

Colors

Color Hex code PNG Color Hex code PNG
background #1b1b25 #1b1b25 red #cb5760 #cb5760
background 2 #282A36 #282A36 green #999f63 #999f63
background 3 #16161e #16161e yellow #d4a067 #d4a067
border #343746 #343746 blue #6c90a8 #6c90a8
foreground #dedede #dedede purple #776690 #776690
white #eeffff #eeffff cyan #528a9b #528a9b
gray #727480 #727480 pink #ffa8c5 #ffa8c5
black #15121c #15121c orange #c87c3e #c87c3e

Troubleshooting

  1. Some polybar modules are not working?

    • Try changing the variables.
    • Open the polybar configuration "$HOME"/.config/polybar/config.ini.
    • Found ; Change it for yourself line.
    • Follow the commands that are written below the ; Change it for yourself line.
  2. MPD not working?

  3. Everything is lagging? Screen is tearing?

    • Edit picom config.
    • This can be hard to solve, because if picom does not work, the whole screen may be frozen or even dark. So first try to kill the picom process.
    • (Blindly) click Win+Enter.
    • (Blindly) type killall picom.
    • (Blindly) press Enter.
    • Open picom configuration "$HOME"/.config/picom/picom.conf.
    • Change picom backend from backend = "glx"; to backend = "xrender";.
    • Click Win+Shift+R.

Support and Thankies

You can support me simply by dropping a star on github or giving a subscription on YouTube.

Big thanks to: adi1090x, Totoro.

Thanks to all contributors! :D

Contributions

Feel free to create issue or pull request.
If you need any help, you can ask questions here on discussions or contact me on discord / reddit.

Distributed under the GPLv3+ License.
Copyright (C) 2022 Keyitdev.

dotfiles's People

Contributors

keyitdev avatar smartsyncing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dotfiles's Issues

Uninstallation

I'm new at arch. Have some troubles with this rice so i want to know how to uninstall completely, because it seems its not working as good as it can. I'm trying to understand some things in installation script and do vice versa but it seems to hard for me. Could u give some info how to completely get rid of all the installed stuff. No hard feelings, rice is good looking btw, just i'm brainless

Neovim error #1

Hi,
After running the arch script on my system (manjaro) I get the following error upon starting nvim:

Error detected while processing /home/laika/.config/nvim/init.lua: E5113: Error while calling lua chunk: /home/laika/.config/nvim/init.lua:25: Failed to load core.autocmds /home/laika/.config/nvim/lua/core/autocmds.lua:9: attempt to call local 'augroup' (a nil value) stack traceback: [C]: in function 'error' /home/laika/.config/nvim/init.lua:25: in main chunk Error detected while processing BufReadPost Autocommands for "*": E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load. lua:142: Vim(source):E5113: Error while calling lua chunk: ...te/pack/packer/opt/Comment.nvim/after/plugin/Comment.lua:1: attempt to index field 'keymap' (a nil value) stack traceback: [C]: in function 'cmd' ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161> [string ":lua"]:1: in main chunk

PS, This is my first time submitting a github issue, so if I need to add any more info or format my entry better, please let me know

Feh is not setting the wallpapers automatically

I am using Arch and I used the install script to get this up and running. I am only having one issue, feh is not setting up the wallpaper in both the lock screen and the home screen. When I am at the lockscreen, I see a black screen and when I am at the home screen, It is a grey screen. What should I do? I have reinstalled feh but it still doesn't work.
Thanks,

Can't login

hello great work , i have installed but when i get to the login screen i type my username and password and click login nothing happens

MPD not working

I'm probably just stupid, but I can't seem to get ncmpcpp or mpc to display my music. I also don't know what information to give you, so just ask me for anything you need.

Neovim error #2

is normal the luasnip friendly snippet doesnt work on neovim?

ctrl + f9 shortcut doesn't always disable the touchpad

what is happening is i have to set my device id by going in i3 config instead of the number 15 and then it seems that the touchpad works but finding the device id requires a decent knowledge of what xinput is and how xorg works

similarly we can also do the same for Ctrl + F10

How to disable login manager (SDDM)

how do i rewrite password for login screen it doesn't seem to pick up my actual login password i use my computer by logging in other tty3 and then starting the session using startx

if this requires inputs
i would love a suggestion with a way to disable the lock screen on startup this would really improve my workflow as i'm using i3 for efficiency

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.