From e297665b04a08f8ffb1c0cf499534c8bedd762fc Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 23 Apr 2023 14:05:55 +0200 Subject: Feat(hm/wms/river): Bump runtime error to compile time --- home-manager/wms/river/init | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) (limited to 'home-manager/wms/river/init') diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init index 9ea82edc..7105c949 100755 --- a/home-manager/wms/river/init +++ b/home-manager/wms/river/init @@ -20,22 +20,7 @@ err_fail export XDG_CURRENT_DESKTOP=river #}}} # Setup of mappings {{{ -case $(cat /etc/hostname) in - "lahmu") - err_fail riverctl keyboard-layout 'dvorak' - err_fail river_init_lesser ~/.config/river/res/keys.ron - ;; - "apzu") - err_fail riverctl keyboard-layout 'dvorak' - err_fail river_init_lesser ~/.config/river/res/keys.ron - ;; - "tiamat") - err_fail riverctl keyboard-layout 'us' - err_fail river_init_lesser ~/.config/river/res/moonlander.ron - ;; - *) - warning "Host not supported for keymapping" -esac +@mappings@ # }}} # Setup of Rules {{{ @@ -68,21 +53,7 @@ err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 accel-prof # }}} # Setup of general apps {{{ -case $(cat /etc/hostname) in - "lahmu") - err_fail wlr-randr --output Virtual-1 --mode 1920x1080 - ;; - "apzu") - err_fail gammastep & - ;; - "tiamat") - err_fail wlr-randr --output DP-2 --pos 2560,0 - err_fail wlr-randr --output DP-1 --scale 1.5 --pos 0,0 - err_fail gammastep & - ;; - *) - warning "Host not supported for screen" -esac +@screen_setup@ err_fail yambar & -- cgit 1.4.1