Git Product home page Git Product logo

dotfiles's Introduction

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.

dotfiles's People

Contributors

amtoine avatar ruturajn 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

Watchers

 avatar  avatar  avatar

dotfiles's Issues

workspace name

Hi
Awesome work and I am currently using this on Ubuntu.
can you advise how to use name for workspace instead of ICONS. I tried but I failed.

wallpaper

using this on ubuntu.
ALT+P does change color but no wall paper.
am I doing something wrong ?

nvim starting error Unknown function: plug#begin

just copy pasted Dotfiles/nvim/ to ~/.config/nvim
run nvim
output:

Error detected while processing /home/aa/.config/nvim/init.lua:
E5113: Error while calling lua chunk: Vim:E117: Unknown function: plug#begin
stack traceback:
        [C]: in function 'call'
        /home/aa/.config/nvim/lua/vim_plug/init.lua:3: in main chunk
        [C]: in function 'require'
        /home/aa/.config/nvim/init.lua:1: in main chunk
Press ENTER or type command to continue

how did you import keybindings from a different file?

sorry for creating an issue.
i see you've a separate file for keybindings and imported them by from keybindins import *
i made a file like this:

import os
import qtile bla bla bla
import bla bla bla
keys = [
bla bla bla
]

then went back to config.py added the line from keybindings import *

but qtile doesn't restart. if i remove this line it restarts. no error found from $python -m py_compile config.py

No scripts

Readme says that scripts for rofi and etc can be found inside of Arch-Setup-Scripts/. However that is not the case

Alacritty

Hi
I use Alacritty as terminal and I want to avoid the script chaning the colors on it
I did read the script but I faied to understand how I can ignore Alacritty when I change the theme using ALT+P

kindly advise.

thank you

power button not working in vm

first i tried manual setup, i faced the issue and then tried setup script for arch, no solution.

i am talking about the far right button in top bar. i tried mod+ctrl+q keybind but power menu didn't show up. it just logged me out. but for the bar, it does nothing.

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.