Skip to content

My Config Files for starship, qtile, rofi, fish, etc. and a few bash scripts for installing Arch and setting up the dotfiles on Arch and Ubuntu.

License

Notifications You must be signed in to change notification settings

Ruturajn/Dotfiles

Repository files navigation

Dotfiles

Now, a custom Arch-Based Distro/ISO is available for this Rice @ https://gitlab.com/ruturajn/RnOS_ISO. Do check it out.

My Config Files for starship, qtile, rofi, fish, etc. I have a three bash scripts in this repo, two of those are for installing this setup and for a base Arch-Linux Install respectively, present in the Arch-Setup-Scripts directory. The other one is for setting up this rice on Ubuntu, which you can find in the ubuntu branch.

To use the config on Arch, you will need to do a few things apart from installing the required packages (If you are not using one of the setup scripts):

  • Edit line 202 in the dunstrc to add the path to dunst icons, which should be ~/.config/dunst/icons, or if you have not moved the dunst folder to your ~/.config directory <Path_to_these_dotfiles>/dunst/icons.
  • Edit line 6 in the autostart.sh script to add the path to your wallpaper. This can be skipped if you want to use nitrogen, to set your wallaper. To do that, you will need to set a wallpaper the first time you login to Qtile with nitrogen. This is only a one time thing, and the wallpaper you chose will persist, due to line 9 in the autostart.sh script. Also, you will need to make the autostart script executable, with chmod +x <Path-to-autostart.sh>/autostart.sh.
  • Get the required fonts, i.e. Material Icons Font, JetBrains Mono Nerd Font, and finally copy all fonts along with the Feather.ttf in the fonts directory to ~/.fonts. Then, to update the font cache run $ fc-cache -fv.
  • For setting up neovim navigate to this dotfiles repo and follow,
    $ sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
    $ sudo pacman -S neovim
    $ cp -r <Path_To_These_Dotfiles>/nvim ~/.config/
    $ sudo pacman -S npm nodejs
    $ mkdir -p ~/.config/nvim/plugged
    $ nvim +'PlugInstall --sync' +qa
    $ sudo pacman -S lua-language-server pyright rust-analyzer
    
    whereas, for setting, up vim,
    $ cp <Path_To_These_Dotfiles>/.vimrc "${HOME}"/
    $ mkdir -p "${HOME}"/.vim/plugged
    $ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
      		https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    $ source "${HOME}"/.vimrc
    $ vim +'PlugInstall --sync' +qa
    
    Please, see the echo commands, on lines 158 to 211 in Arch_Setup_Install.sh as explanation on what these lines do, for neovim and vim setup respectively, if you are unfamiliar with them.
  • (Optional) Using wpgtk and pywal. The modifications, required to use them are present in the qtile config, and the wal-set script is placed under qtile/Scripts directory. To use it with my dotfiles, follow these steps:
    # Install wpgtk from the AUR, I use 'yay', you can use any AUR-Helper you like
    $ yay -S wpgtk
    
    # Then add this line to the fish config, at the end of the 'if' block
    cat ~/.config/wpg/sequences
    
    # After that, remove the line from the autostart.sh file, that restores the wallpaper with 'nitrogen',
    # and replace it with,
    wal -R
    
    # Now, run the wal-set script using 'Alt+P'. Once, the colorscheme is generated, run
    # the following to generate gtk and icon theme.
    $ wpg-install.sh -gi
    
    To apply the gtk and icon theme, use lxappearance (or any other application that you like), for choosing the theme, whose name will be displayed, when you run the command $ wpg-install.sh -gi. Now, this should setup everything, and whenever you run the wal-set script, the theme will reflect everywhere. I do not use this scheme for neovim, since the generated schemes do not look that great in it. You can use it, by installing a plugin.

Note:

  • The Setup Install Script places the config files in their respective directories and installs the dependencies. Please read the README.md file placed under the Arch-Setup-Scripts directory and the script ,before running the script. You can just get the script using curl (see Arch-Setup-Scripts/README.md), it will clone this repo and do the needfull.
  • The Arch Install Script adds a user, partitions the disk, does a base Arch Installation etc. (see Arch-Setup-Scripts/README.md).
  • The picom.conf file here, is to be used with the original picom. For Jonaburg's Fork of picom, I use jonaburg_picom.conf. If you want to use jonaburg-picom use that.
  • If you don't see the wifi widget show up, change line 364 in qtile/config.py to your network interface.
  • To use the bright_control script, the user will need to be a part of the video group. This can be done by : $ sudo usermod -aG video $USER.

If you are using the Arch_Setup_Install.sh script all of these things mentioned about editing files, picom configs (It will also ask you which fork of picom you require and place the default config from that fork in ~/.config/picom/picom.conf), adding your user to the groups and giving you the choice to choose pywal with wpgtk will be taken care of by the script. It will also backup your $HOME/.config directory before making any changes, so you will not loose any data. Check the links from the Theme section, in the Setup Details section if you have any issues while installing wpgtk or pywal.


Setup Details

Category Tool Used
Window Manager Qtile (with Qtile-Extras)
Terminal Alacritty
Shell Fish (with Oh-my-fish)
Compositor Jonaburg's Fork of picom
Application Launcher Rofi
Text Editor Vim or Neovim
Browser Brave
Notifications Dunst
File Manager Nemo
Fonts Fantasque Sans Mono Nerd Font, JetBrains Mono Nerd Font, Fontawesome Font and Material Design Icon Font
Fetch Program pfetch, fm6000 and nerdfetch
Terminal Programs cava, bashtop, pipes.sh, cmatrix and cbonsai
Theme Catppuccin or pywal with wpgtk

Gallery

Videos and Screenshots
pywal-script.mp4

Arch-Rice-1

Arch-Rice-2

Arch-Rice-Rofi

Arch-Rice-Wifi

Arch-Rice-Powermenu

Screenshots (Showing Volume and Brightness Control)

Old Screenshots

Arch_Rice_Qtile

Arch_Rice_Qtile_1

Arch_Rice_Qtile_Rofi

Arch_Rice_Qtile_Vol-Up

Arch_Rice_Qtile_Vol-Down

Arch_Rice_Qtile_Vol-Mute

Arch_Rice_Qtile_Vol-UnMute

Arch_Rice_Qtile_Brightness


Credits

Wallpapers taken from wallpaperscraft, and wallpaperbetter.

About

My Config Files for starship, qtile, rofi, fish, etc. and a few bash scripts for installing Arch and setting up the dotfiles on Arch and Ubuntu.

Topics

Resources

License

Stars

Watchers

Forks