- Note: Check out the
modified
branch for a newer setup. Hope you like it! - xmonad ⚽
- eww 🤢
- firefox 🦊
- rofi 💈
- tint2 (This fork is the only supported fork.) 🍫
- Inhibitors 👁️ (Inhibitors are cool stuff that prevent auto screen lock when you're watching a video or something)
- Healthy stuff ❤️ (Yeah, you get notifications to fix your posture and take a break)
- Insert more stuff here
Hello! Thank you for dropping by! 👋
These are my xmonad configurations, and they go brr! 🚀 (Let's stop that there).
If you're here, I suppose you want to be cloning this configuration, for which look at the Installation Section below. 👇
Even if you're not, just look through the gallery 📷:
Workflow GIF: (This is a short one, for more goodies look at the links below)
(Also, compression made it look kinda bad, but I think it shows what it needs to)
Workflow Video by SavvyNik aka @SavvyNik
Workflow Video by Guilherme Moreno aka @morenoled
These are the basic keybinds. Read through the xmonad/xmonad.hs
file for more keybinds like increasing gaps and restoring gaps.
Keybind | Function |
---|---|
Win + Shift + Enter |
Launch terminal (alacritty) |
Win + Shift + C |
Close window |
Win + O |
Open rofi menu |
Win + Shift + Q |
Open rofi powermenu |
Win + S |
Open sidebar |
Win + Shift + S |
Close sidebar |
Win + P |
Open dashboard |
Win + Shift + P |
Close dashboard |
Win + B |
Toggle the main bars |
Win + Z |
Activate inhibitor (Stops autolocking) |
Win + Shift + Z |
Dectivate inhibitor (Enables autolocking) |
Win + Ctrl + G |
Toggle gaps (toggle to get screen space) |
Win + J |
Navigate through windows |
Win + K |
Navigate through windows |
Win + Space |
Switch through layouts |
Win + T |
Make a floating window tiled |
Note: Toggling
means to enable if inactive or to disable if active.
Note: Win
refers to the Super
key.
Alright, let's get to the main stuff.
If you feel like you don't want to read so much, here's a video, courtesy of @SavvyNik!
Nik's Installation Video for Arch Linux
Note: Whatever method you follow, if you want the weather and quote features to work as well, you need to modify your crontab as follows:
(To edit your crontab, crontab -e
as a normal user.)
0,30 * * * * /home/{Your-username}/.config/eww/scripts/getweather
@reboot /home/{Your-username}/.config/eww/scripts/getquotes
And please follow these next few steps as well:
- Add
export PATH="$PATH:$HOME/bin"
to your~/.bashrc
file (or a shell of your choice). - Edit the script in
~/.config/eww/scripts/getweather
. Further steps are specified within that file. - Open
tint2conf
and edit the themepanellauncher.tint2rc
. In there, head over to theLauncher
tab and set the icon theme as candy-icons. - Get the Museo Sans 300 (ONLY THE 300 WEIGHT PLEASE, OTHERS LOOK WEIRD) font from Adobe itself or any other sources, put the
.ttf
or.otf
file in your~/.local/share/fonts
- Run
fc-cache -f
after getting the font.
- Run
- If the widgets don't work properly, go to the main repository and install
eww
as documented. Make sure the resulting binary is stored in~/bin
. - Issue
xmonad --recompile
after you complete all the steps, and relogin to xmonad. - For the profile picture to load, it needs to have the full path in
eww.scss
. Open the file, search for the string containing~/.config
(line number 329 to be exact) and edit it to point it to your image. Full path required. For example:$HOME/path/to/image.png
.
Piece of good advice: Since you are on an Arch-based distro, it is likely you use systemd
. In case you don't, go ahead and ignore this and skip to Going Ahead: Arch Edition.
In case you do, I recommend opening this repository in a text editor after you clone it, and global-replace the stuff specified in Stuff for sysd users. After that, go ahead with Going Ahead: Arch Edition.
Note: THIS MAKES BACKUPS TOO, SO YEAH. JUST DO IT. DO IT!
$ git clone https://github.com/Axarva/dotfiles-2.0.git
$ cd ./dotfiles-2.0
$ chmod +x ./install-on-arch.sh
$ ./install-on-arch.sh
That'll do the basic stuff. For a complete kang (kang means copying, don't mind my jargon), look at the list of dependencies below.
AND DON'T FORGET TO READ WHAT'S WRITTEN AT THE END OF THE MAIN INSTALLATION SECTION UP THERE. Further steps are specified there. (Yes. Absolutely needs to be shouty capitals.)
I'm sorry guys, I couldn't do it. I'm having a mental breakdown rn.
Piece of good advice: If you don't use systemd
, go ahead and ignore this, and skip to Going ahead: Others Edition.
In case you do use systemd
, I recommend opening this repository in a text editor after you clone it, and global-replace the stuff specified in Stuff for sysd users. After that, go ahead with Going ahead: Others Edition.
You need to install the dependencies yourself, this script will add the fonts and the configs (AND BACK UP EXISTING ONES TOO, FOR GOD'S SAKE DON'T BE SO PARANOID):
$ git clone https://github.com/Axarva/dotfiles-2.0.git
$ cd ./dotfiles-2.0
$ chmod +x ./install-on-gentoo.sh
$ ./install-on-gentoo.sh
AND DON'T FORGET TO READ WHAT'S WRITTEN AT THE END OF THE MAIN INSTALLATION SECTION UP THERE. Further steps are specified there. (Yes. Absolutely needs to be shouty capitals.)
Ahhhhh the other main stuff. Here you go, peeps. Make sure you have em all.
- xmonad (OF COURSE, DUH)
- eww (ElKowar's Wacky Widgets, binary included, but I encourage you to build it yourself and put the binary in your ~/bin). Link
- firefox (Yup)
- rofi version 1.6.0 (Configs originally come from @adi1090x, been edited by me).
- tint2 (Please use this fork ONLY, or issues will occur. Binaries provided already.)
- acpi
- Museo Sans Font by Adobe (I think it needs some sort of acount, but get it) Or just search for it on the web and get it somewhere
- Nerd Font. I include some, but you can use any of your choice. Link
- playerctl
- brightnessctl. Link
- candy-icons. Link
- dunst
- Spotify (for cover art, else edit the eww/scripts/getart script accordingly)
- An OpenWeatherMap Account, (view eww/scripts/getweather script for more info)
- feh
- NetworkManager
- greenclip
- alacritty
- picom (fork of ibhagwan or jonaburg)
- jq: Command line json parser (Needed for widgets)
- maim and xclip for screenshots
- mpv for low-battery sound playing (Not exactly necessary, you'll get the notification, but the sound depends on it.)
- Might need to be updated, so please tell me
And here we are:
- If xmonad doesn't build make sure you have
xmonad-contrib
- Bar looks weird: Try editing it a bit using
~/bin/tint2conf
. - Alacritty configs are faulty: I'm not sure about this one, works perfectly fine for me.
- Widgets positioning weird: I hardcoded them for a 1366x768 screen, will create others if I can
- Fonts: GET THOSE FONTS!
- MAKE SURE YOUR
~/bin
DIRECTORY IS IN YOUR PATH, OR NOTHING WILL WORK! (Yes. Absolutely needs to be shouty capitals.) - Anything else? Open up an issue.
Workspace indicator bar lost colors: This has a very long explanation, but the fix is as follows:Open up the~/.config/tint2/workspaces.tint2rc
file, and scroll down to the taskbar module at around line 120Add this line in that block:taskbar_name_unoccupied_font_color = #ffd5cd 100
Save the file, and refresh the bar with hitting the keybindWin + B
twice.Remember not to edit that particular file withtint2conf
, or you'll have to do this again!
- The workspace indicator bar issue has been solved through the binaries in my fork.
- For instructions regarding use on VirtualMachine, please do check the
VM
folder of this repository.