Created
July 20, 2022 10:20
-
-
Save txtyash/fecdc7941829bd946c083233a508ceb7 to your computer and use it in GitHub Desktop.
My .xinitrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
userresources=$HOME/.Xresources | |
usermodmap=$HOME/.Xmodmap | |
sysresources=/etc/X11/xinit/.Xresources | |
sysmodmap=/etc/X11/xinit/.Xmodmap | |
# merge in defaults and keymaps | |
if [ -f $sysresources ]; then | |
xrdb -merge $sysresources | |
fi | |
if [ -f $sysmodmap ]; then | |
xmodmap $sysmodmap | |
fi | |
if [ -f "$userresources" ]; then | |
xrdb -merge "$userresources" | |
fi | |
if [ -f "$usermodmap" ]; then | |
xmodmap "$usermodmap" | |
fi | |
# setxkbmap -option altwin:swap_lalt_lwin | |
# setxkbmap -option caps:swapescape | |
feh --bg-scale --randomize ~/pictures/wallpapers/* | |
picom --experimental-backend -b --config ~/.config/picom/picom.conf | |
exec xmonad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment