about summary refs log tree commit diff stats
path: root/home-manager/wms/river/init
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhome-manager/wms/river/init21
1 files changed, 16 insertions, 5 deletions
diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init
index dd99a2da..fbe3062d 100755
--- a/home-manager/wms/river/init
+++ b/home-manager/wms/river/init
@@ -20,8 +20,18 @@ err_fail export XDG_CURRENT_DESKTOP=river
 #}}}
 
 # Setup of mappings {{{
-err_fail riverctl keyboard-layout 'dvorak'
-err_fail river_init_lesser ~/.config/river/res/keys.ron
+case $(cat /etc/hostname) in
+    "lahmu")
+        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
 # }}}
 
 # Setup of Rules {{{
@@ -40,13 +50,14 @@ err_fail riverctl border-color-focused 0x93a1a1
 err_fail riverctl border-color-unfocused 0x586e75
 
 # keyboard repeat rate
-err_fail riverctl set-repeat 50 300
+#err_fail riverctl set-repeat 50 300
 
 # Cursor
-err_fail riverctl focus-follows-cursor always
+err_fail riverctl focus-follows-cursor normal
 #riverctl hide-cursor timeout 2000
 err_fail riverctl hide-cursor when-typing enabled
 err_fail riverctl set-cursor-warp on-output-change
+err_fail riverctl xcursor-theme Nordzy-cursors 24
 
 err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 pointer-accel 0
 err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 accel-profile none
@@ -64,7 +75,7 @@ case $(cat /etc/hostname) in
         err_fail gammastep &
         ;;
     *)
-        warning "Host not supported"
+        warning "Host not supported for screen"
 esac
 
 err_fail yambar &