This fork is a modified version to work for my needs, i encountered problems while installing and using the original one, so this is how I modified them.
I suggest to install yay
(https://www.makeuseof.com/install-and-use-yay-arch-linux/) to install packages that are not available with pacman
the most important packages are:
fish pfetch betterlockscreen btop cronie dunst exa feh git github-cli neovim nvim-packer picom polybar powertop pulseaudio rofi reflector rsync tlp ttf-jetbrains-mono-nerd rustup cargo
Since the original uses a loadshedding file, and where I live there isn't loadshedding, I opted to include weather using OpenWeatherMap API. If you want to use it you will have to create an account and ask for an API key, then substitute the key inside the ~/.config/polybar/scripts/weather.py
file, making sure to change your city of interest too (change it also in the update_weather.py
file in the same directory).
In the bottom bar I changed the internet settings, since I dont have Wi-Fi on my desktop I changed to work with wired.
To make the gpu info work (BTW I have a radeon one, so maybe this is not for you) you have to add this line <yourUsername> ALL=NOPASSWD: /usr/bin/cat, /usr/bin/s-tui
to your /etc/sudoers.d/myOverrides
(it's probably named in another way), using the command sudo visudo -f /etc/sudoers.d/myOverrides
. I know this isnt really secure, but is allowing just to run the cat command without password.
launch.sh
, otherwise your system will try to access sudo commands without password, locking it for some minutes. Ask me how I know... 🤦
basically your file inside /etc/sudoers.d/myOverrides
should contain this:
<yourUsername> ALL=(ALL:ALL) ALL
<yourUsername> ALL=(ALL:ALL) NOPASSWD: /usr/bin/cat, /usr/bin/s-tui
Source: https://askubuntu.com/questions/504652/adding-nopasswd-in-etc-sudoers-doesnt-work
Polybar Spotify player: https://github.com/mihirlad55/polybar-spotify-module
Below I put an image of the updated desktop.
Empty desktop with my modified coinfiguration:
The configuration files for my Linux desktop. Supports Arch based distros using Gnome and/or i3.
⚠️ Sadly you will have to do this manually:
# Clone.
sudo pacman -S git
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
mkdir ~/.dotfiles
config clone --bare https://github.com/k0ruy/.dotfiles ~/.dotfiles/
config checkout -f
find ~/.scripts/install/ -type f -iname "*.sh" -exec chmod +x {} \;
# Run main install script.
~/.scripts/install/install.sh
The theme is based on my Neovim plugin, nordic.nvim. It is a warmer and darker version of the Nord color palette.
Some screenshots showing off the desktop and rice.
Overview
Wallpapers can be found at this ImageGoNord repo (they "norded" some nice wallpapers) and locally.
Notifications via dunst:
Launcher via rofi (cant screenshot on my setup, this is the original image from AlexvZyl):
Powermenu via rofi (cant screenshot on my setup, this is the original image from AlexvZyl):
A few notes on the bindings:
- Keys combined with the
Super
key are reserved for OS and WM related actions. - Arrows and
hjkl
keys are interchangeable.
Bindings table
Binding | Action |
---|---|
Super + d | App launcher |
Super + p | Powermenu |
Super + t | Terminal |
Super + n | Neovim |
Super + b | BTop++ |
Super + g | NVtop |
Super + R | Toggle read mode |
Super + tab | Windows |
Super + Arrow | Cycle windows |
Super + Shift + Arrow | Move window |
Super + Number | Go to workspace |
Super + r | Newsboat |
Super + w | iwctl |
This config has a decent amount of work and is basically a fully fledged IDE. Why didn't I use LunarVim, NvChad or SpaceVim? I like doing things myself.
To configure neovim in theory should be enough to open nvim
in a terminal and running :PackerSync
.
ℹ️ I try to keep all of the key bindings in this file.