Caution
Here are some details about my setup:
- OS: Arch Linux
- Terminal: Kitty
- Shell: Fish
- WM: dwm-flexipatch
- Login Manager: sddm
- Editor: nvim
- Status Bar: vanilla dwm bar
- Status Content: luastatus
- Lock Screen: slock-flexipatch
- App Menu: rofi
- Network Menu: networkmanager-dmenu
- Dropdown Menu: tdrop
- Notification Daemon: Linux Notification Center
- AUR helper: Paru
- Brightness Control: brightnessctl
- Compositor: picom
- Font: Iosevka Nerd Font
- Shell Prompt: starship
- System Info: macchina
- File Manager: felix and Thunar
- Ebook Reader: zathura
- Image Viewer: qView
- Video Player: mpv
- ScreenShot: Flameshot
- Wallpaper Setter: feh
- Color Picker: Gpick
- Clipboard Manager: greenclip
- Calculator: rofi-calc
Mandatory
- Xorg (for beginners, I recommend installing the whole package)
- xrdb (for reloading xresource colorschemes)
- A terminal emulator
- if you use anything other than alacritty, modify the line
static const char *termcmd[] = { "alacritty", NULL };
in~/.config/dwm/config.h
to your terminal's name (the theme_changer script will only change the colorschemes of wezterm, alacritty or kitty)
- if you use anything other than alacritty, modify the line
- rofi (for opening programs, showing keybindings, changing theme, using as power menu, managing clipboard, using as a calculator etc)
- luastatus (for status info)
- feh (for setting wallpaper)
- Font: Iosevka Nerd Font and Iosevka normal
- You can also use any other nerd font, but don't forget to add that font to
*fonts[]
in~/.config/dwm/config.h
and recompile)
- You can also use any other nerd font, but don't forget to add that font to
Optional
You may choose not to install any of these and but doing so might make some things not work as intended
- Drop-down terminal: kitty
- Drop-down creator - tdrop
- If you want to use anothera terminal as a drop-down terminal, replace
kitty
to your preferred terminal name in this line -RULE(.class = "kitty", .isfloating = 1)
in~/.config/dwm/config.h
- Paru
- picom
- networkmanager-dmenu
- brightnessctl
- starship
- macchina
Arch Linux or Arch based distro
Work in Progress!!!
[!WARNING]
Backup your dotfiles from your home directory. These steps below will overwrite your configs.**
[!WARNING]
This rice only has been on a 1920x1080 resolution display.**
[!NOTE]
If you want to use my dotfiles then it is highly recommended to fork this repo as I might heavily change it overtime.**
If you don't want to use my configs for programs other than dwm and dmenu, then manually change the
~/.bin/dwm/theme_changer
or else things might get out of control
-
Clone this repo to your preferred directory and cd into it -
git clone https://github.com/junnunkarim/dotfiles-linux && cd dotfiles-linux
-
Install mandatory dependencies
sudo pacman -Su --needed base-devel coreutils xorg alacritty lua feh ttf-iosevka-nerd ttc-iosevka wmctrl
-
Install luastatus
sudo pacman -Su --needed cmake yajl python-docutils
- Follow installation steps from here - luastatus
-
Copy necessary configs -
cp -rf .bin .Xresources .xinitrc ~
- If you won't use my bashrc then add
.bin
to your $PATH variable - Do not copy
.xsession
as it will change your keyboard layout to dvorak.
- If you won't use my bashrc then add
cp -rf .config/alacritty .config/dwm .config/rofi .config/wallpaper ~/.config/
-
Build dwm and dmenu
cd ~/.config/dwm && sudo make install
cd ~/.config/dmenu && sudo make install
- Create a desktop entry for dwm
sudo vim /usr/share/xsessions/dwm.desktop
[Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=the dynamic window manager
Exec=dwm
Icon=dwm
Type=XSession
- Open
$HOME/.config/dwm/config.h
in a text editor and modify the keybindings to your needs - Extract the gtk themes from
.themes
directory to your$HOME/.themes
directory - Login to dwm using a display manager
- After getting into dwm press
super + t
and choose any colorscheme (this is to load the wallpaper for the first time)
- After getting into dwm press
[!WARNING]
For each options below, make sure that you are in the dotfiles-linux directory
- Install paru (AUR helper)
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
- If you want to use my
.bashrc
cp .bashrc ~
sudo pacman -Su --needed exa starship
paru -S --needed macchina
- If you want to use my
config.fish
cp -rf ~/.config/fish/config.fish
sudo pacman -Su --needed exa starship
paru -S --needed macchina
- nvim dotfiles
cp -rf .config/nvim ~/.config
- If you want to use my
.vimrc
- brightnessctl
sudo pacman -Su --needed brightnessctl
- picom
sudo pacman -Su --needed picom
- networkmanager-dmenu
paru -S --needed networkmanager-dmenu-git
- redshift
sudo pacman -Su --needed redshift
- Dropdown terminal
paru -S --needed kitty tdrop tmux
cp -rf .config/kitty ~/.config
- zathura
sudo pacman -Su --needed zathura
cp -rf .config/zathura ~/.config/
- slock
cp -rf .config/slock ~/.config/
cd ~/.config/slock && sudo make install
- Continue lockscreen setup using arch wiki - slock
Note
Standards
super + [any key] == system main shortcuts
super + shift + [any key] == system main shortcuts
super + ctrl + shift + [any key] == system low priority shortcuts
super + alt + shift + [any key] == system low priority shortcuts
super + alt + [any num or alphabet key] == open applications
super + ctrl + [any num or alpabet key] == open other programs or scripts
Keybindings
Keybinding | Action |
---|---|
super + b | toggle bar on/off |
super + s | switch a window form stack with master |
super + c | close a program |
super + shift + q | quit dwm (only if all programs are closed) |
super + space | toggle floating on/off |
super + left/right | increase/decrease window size |
super + shift + ctrl + space | cycle through all layouts |
super + tab | move through active tags clockwise |
super + backtick | move through active tags anti-clockwise |
super + 0 (zero) | toggle gaps on/of |
super + shift + i | hide/unhide window |
super + shift + r | restart dwm |
super + f | toggle fullscreen |
super + 0-9 | go to the specified tag |
super + shift + 0-9 | move selected window to the specified tag |
alt + tab | move through window focus clockwise |
alt + backtick | move through window focus anti-clockwise |
Keybinding | Action |
---|---|
super + return/enter | open terminal |
super + shift + return/enter | open dropdown terminal |
super + l | lock screen |
super + n | open network menu |
super + t | open theme switcher |
super + x | open powermenu |
super + k | show all keybindings |
super + d | open rofi |
super + h | open clipboad manager (greenclip) |
super + r | open calculator (rofi-calc) |
super + ctrl + r | turn on bluelight filter (redshift) |
super + ctrl + n | turn off bluelight filter (redshift) |
super + ctrl + p | turn on compositor (picom) |
super + ctrl + u | turn on compositor (picom) |
super + ctrl + g | open color picker (gpick) |
super + alt + f | open file manager (thunar) |
super + alt + n | open file manager (nnn) |
super + alt + b | open chromium |
super + alt + e | open firefox |
super + alt + e | open neovim |
super + alt + h | open btop |
prtsc | take fullscreen screenshot now |
super + prtsc | take interective screenshot |
alt + prtsc | take fullscreen screenshot after 5 sec |
ctrl + prtsc | take fullscreen screenshot after 10 sec |
super + F1 | increase brightness |
super + F2 | decrease brightness |
super + F5 | increase volume |
super + F6 | decrease volume |
super + F7 | toggle mute on/off |
Show Patches
- BAR_AWESOMEBAR_PATCH
- BAR_LTSYMBOL_PATCH
- BAR_STATUS_PATCH
- BAR_STATUSBUTTON_PATCH
- BAR_STATUS2D_PATCH
- BAR_SYSTRAY_PATCH
- BAR_UNDERLINETAGS_PATCH
- BAR_TITLE_LEFT_PAD_PATCH
- BAR_BORDER_PATCH
- BAR_CENTEREDWINDOWNAME_PATCH
- BAR_EWMHTAGS_PATCH
- BAR_IGNORE_XFT_ERRORS_WHEN_DRAWING_TEXT_PATCH
- BAR_PADDING_VANITYGAPS_PATCH
- ATTACHBOTTOM_PATCH
- CENTER_PATCH
- COMBO_PATCH
- COOL_AUTOSTART_PATCH
- CYCLELAYOUTS_PATCH
- FOCUSONNETACTIVE_PATCH
- FSIGNAL_PATCH
- LOSEFULLSCREEN_PATCH
- NET_CLIENT_LIST_STACKING_PATCH
- ONLYQUITONEMPTY_PATCH
- RESTARTSIG_PATCH
- SHIFTVIEW_CLIENTS_PATCH
- STACKER_PATCH
- SWITCHTAG_PATCH
- TOGGLEFULLSCREEN_PATCH
- VANITYGAPS_PATCH
- VANITYGAPS_MONOCLE_PATCH
- XRDB_PATCH
- ZOOMSWAP_PATCH
- TILE_LAYOUT
- MONOCLE_LAYOUT
Warning
Overtime the screenshots might get outdated.
- [dwm] Well, what do you say?
- [dwm] Hurry! Take your medication, we're going to stargaze at the top of the mountain!
-
Switch to xrdb patch for theme switching -
Fix the issue with hardcoded path -
Create a list of keybindings -
Explain installation procedure and how everything works-
Mention the mandatory and optional dependencies -
Make a detailed guide for archlinux
-
-
Redo setup on an updated version of dwm-flexipatch - Explain the features of this setup
-
Switch to rofi from dmenu (but keep dmenu as an alternative) - Make new colorschemes
-
nord -
dracula -
catppuccin -
rose-pine -
everblush - kanagawa
-
- Rice Firefox or switch to vieb
- Create conky and eww widgets
- Remove unused patches
- Give credit to proper persons and projects
-
Write my own neovim config - Update the README
- Update rofi to look like dmenu
-
I do not take any credit for the images I use as wallpaper. I simply upscaled and changed the colorscheme of some wallpapers to match with my setup. But all credit goes to the original author. Since I have been collecting these wallpaper from various sources, for most of the images I do not know who the original author is. So,
- If you know the name of the author, please let me know. I will surely mention their name in
.config/wallpaper
directory. - If you are the artist and you do not want me to redistribute your art, then let me know. I will remove your art from my git repo.
- If you know the name of the author, please let me know. I will surely mention their name in
-
Name of the image artists that I know are listed here
-
adi1090x mainly for his Archcraft and his scripts as well as configs (from where I learned a lot)
-
NvChad for the neovim configs
-
karlivory for fixing the need to restart dwm when changing theme
-
Petingoso for modifying the theme_changer script to also change gtk theme