commit 2391ae9795cac97660a27ac5566f3a4dd303d4cf
parent 6208345e5914f644b77d3d8ab6f22813da0addd2
Author: vin <git@vineetk.net>
Date: Wed, 8 Apr 2026 10:21:54 -0400
files/sx: add host-specific xorg startup commands
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/epistemia/files/sx/.config/sx/sxrc b/epistemia/files/sx/.config/sx/sxrc
@@ -2,8 +2,13 @@
export PATH=$HOME/bin:$HOME/.guix-home/profile/bin:$HOME/.guix-home/profile/sbin:/run/privileged/bin:$HOME/.config/guix/current/bin:$HOME/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin:$PATH
export _JAVA_AWT_WM_NONREPARENTING=1
-guix shell xset -- xset -dpms
-guix shell xset -- xset s off
+if [ "$(hostname)" = "demiurge.epistemia" ]; then
+ guix shell xset -- xset -dpms
+ guix shell xset -- xset s off
+elif [ "$(hostname)" = "hastur.epistemia" ]; then
+ guix shell setxkbmap -- setxkbmap us workman
+ guix shell xset -- xset r 66
+fi
emacsclient -e '(list)' >/dev/null 2>&1 || emacs --daemon