From ae9caf21c5af310355c9ffaff561eb8897446ff8 Mon Sep 17 00:00:00 2001 From: ene Date: Thu, 6 Apr 2023 16:59:25 +0200 Subject: Feat(hm/conf/river): Update to new version --- home-manager/wms/river/init | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'home-manager/wms/river/init') 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 & -- cgit 1.4.1