Various dotfiles, scripts and other config files for my Arch Linux installation.
NOTE: this repository has been archived as I no longer use my laptop very much.
- Various scripts in
.local/bin/
(setting the wallpaper, video playback from the~/Videos
directory usingmpv
, status bar blocks, etc.) Make sure to set them as executable withchmod u+x
if they already aren't. - Wallpaper setting script in
.local/bin/setbg
which sets the wallpaper usingfeh
and a fitting color scheme withpython-pywal
. This script is also ran atdwm
startup, using the image at~/.config/dwm-background
as the wallpaper (the file can also be a symlink as well). - Settings for various programs, such as
zsh
,mpv
and so on, are in.config/
. - Source code for
dwm
,dwmblocks
(the status bar),dmenu
andst
with various patches applied are in.config/suckless/
dwm
:- Version 6.2
- Applied patches:
fullgaps
- adds gaps between windows and allows to configure them at run-time.shiftview
- allows the user to rotate the currently selected tag (http://lists.suckless.org/dev/1104/7590.html)swallow
- adds window swallowing functionality. As an example, startingmpv
orsxiv
will now "hide" the terminal window that started that process. This patch helps users spawning a lot of graphical programs from their command line by avoiding cluttering the screen with many unusable terminals.restartsig
- allowsdwm
to be restarted with a keybinding (default:MOD
+CTRL
+SHIFT
+Q
)attachaside
- new clients (windows) appear in the stack rather than in the mastercyclelayouts
- cycle through all available layouts using keybindings (defaults:MOD
+CTRL
+,
andMOD
+CTRL
+.
)gridmode
- adds an extra layout calledgrid
in which the windows are arranged in a grid of equal sizesrotatestack
- rotates a window through the stack, in either direction (defaults:MOD
+SHIFT
+j
andMOD
+SHIFT
+k
)statuspadding
- horizontal and vertical padding in the status bar are now configurable optionssystray
- adds a system tray (applieddwm-systray-6.2.diff
, NOTdwm-systray-20200914-61bb8b2.diff
@ https://dwm.suckless.org/patches/systray/)
dwmblocks
- modular status bar for dwm (https://github.com/torrinfail/dwmblocks)dmenu
:- Version 5.0
- Applied patches:
borderoption
(underborder
patch) - adds border around thedmenu
windowcenter
- centersdmenu
in the middle of the screenfuzzymatch
- adds support for fuzzy-matchinggrid
- adds the ability to renderdmenu
's entries in a grid (-g
)lineheight
- adds a flag (-h
) to set the minimum height ofdmenu
linesnumbers
- adds text which displays the number of matched and total items in the top right corner
st
(simple terminal):- Version 0.8.4
- Applied patches:
alpha
- allows the user to have transparent terminals (requiresxcompmgr
or some other X compositor, such aspicom
to be running in the background, the startup script takes care of that)anysize
- smoothly changes the terminal's window size when adjusting window gapsclipboard
- sets the clipboard, rather than the primary buffer on selection (text from the clipboard can be pasted by clicking the scroll wheel)scrollback
- allows the user to scrollback the terminal output. I've also applied thescrollback-mouse
patch so that I can scroll the terminal output back and forth using Shift and mouse wheel (by default)
- Normally, setting the monitor brightness using
acpilight
(orxorg-xbacklight
) requires root access. This is not ideal when you have a minimal WM environment (likedwm
) and you set up the ability to make the backlight dimmer or brighter using the monitor brightness up and down keys on the keyboard. However, there is audev
rule, which allows setting the backlight by any user in thevideo
group without requiring root access. It is inetc/udev/rules.d/90-backlight.rules
. You can add a user to thevideo
group withsudo gpasswd -a <user> video
dwm
startup script in/usr/local/bin/start-dwm.sh
- Session configuration for
dwm
in/usr/share/xsessions/dwm.desktop
. This allows setting my session to usedwm
at the login prompt (in my case,SDDM
). - Config file for SDDM's
Sugar Candy
theme inusr/share/sddm/themes/sugar-candy/
. - Fonts that are required:
- Source Code Pro (for
st
). Package:adobe-source-code-pro-fonts
. - Helvetica Neue. I use it throughout my desktop, for subtitles in
mpv
andvlc
. It's used both by Qt applications (configured through KDE's system settings) and GTK applications (.config/gtk-2.0/gtkrc). Copied over from my Windows install (https://wiki.archlinux.org/index.php/Microsoft_fonts#Using_fonts_from_a_Windows_partition). If Helvetica Neue is not installed, the OS should be able to use some other font instead. - Hack Nerd Font (for
dwm
). Available at https://www.nerdfonts.com or by installingnerd-fonts-hack
from the AUR.
- Source Code Pro (for
- List of all explicitly installed packages on my system (with
pacman -Qe
) are inpkglist.txt
. I useparu
as my AUR helper.
I haven't pushed any of KDE's config files to this, as there are way too many of them and everything' set through the GUI anyway (e.g. fonts, whether you single click or double click files to open them in the file manager, icons, colors and so on).