commit 71f95a5d254b544d688b6e0ef11f01550dde97b4 (patch)
parent 50e07cade5321bd2e471ca72e15a2de260574018
Author: Alex Karle <alex@karle.co>
Date: Sun, 3 Nov 2019 01:13:12 -0400
X11: update config for dwm+startx based workflow
These days, I start out in the virtual console and use "startx" to start
the X server / client.
With this workflow, I don't end up using either the Xkbmap or xprofile
files (both of which were used by the lightdm Display Manager), and
these settings have been merged into one "xinitrc" file.
Diffstat:
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/X11/Xkbmap b/X11/Xkbmap
@@ -1 +0,0 @@
--option caps:ctrl_modifier
diff --git a/X11/xinitrc b/X11/xinitrc
@@ -0,0 +1,10 @@
+# This is the config I use for dwm + startx
+# (which is in the xorg-xinit package I believe)
+setxkbmap -option caps:ctrl_modifier
+slstatus &
+
+if [ -e ~/Pictures/BondCliffJennex.jpg ]; then
+ feh --bg-fill ~/Pictures/BondCliffJennex.jpg
+fi
+
+exec dwm
diff --git a/X11/xprofile b/X11/xprofile
@@ -1,6 +0,0 @@
-xrandr --dpi 192
-
-# run slstatus in background
-slstatus &
-
-feh --bg-center ~/Pictures/BondCliffJennex.png