commit 4aa6ef5b982563093d0b5175ea03bf033c6ff856
parent da166cf1b90455aa6bb7e9dc93a7852f6f0c39ee
Author: hhvn <dev@hhvn.uk>
Date: Sat, 17 Dec 2022 14:22:59 +0000
Configure displays and wallpapers properly in .xinitrc
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/.xinitrc b/.xinitrc
@@ -1,19 +1,21 @@
#!/bin/rc
+host = `{hostname}
+
xrdb $home/.local/xres &
setxkbmap haydenh &
dwmbar/dwmbar &
-port.hhvn.uk/keyboard &
-port.hhvn.uk/dock &
-port.hhvn.uk/mount &
+$host^/keyboard &
+$host^/mount &
xset r rate 200 40 &
xmodmap -e 'keysym Control_R = Multi_key' &
barriers -c $home/.config/barrierc --disable-crypto --no-tray --name port.hhvn.uk &
-wallp images/wallpapers &
-
sxhkd &
st &
+$host^/displays # displays must be set up before wallp is run
+wallp -r &
+
while (dwm) {
true
}