diff options
Diffstat (limited to 'home-manager/wms')
-rwxr-xr-x | home-manager/wms/river/init | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init index fa317394..6e40f989 100755 --- a/home-manager/wms/river/init +++ b/home-manager/wms/river/init @@ -6,8 +6,8 @@ err_fail() { if ! "$@";then warning "\"$*\" failed!\n" >> ~/river_log -# msg "Executing the safe init!" -# exec ~/.config/river/res/safe_init + # msg "Executing the safe init!" + # exec ~/.config/river/res/safe_init fi } rm ~/river_log @@ -58,8 +58,17 @@ err_fail gsettings set org.gnome.desktop.wm.preferences button-layout "" # TODO # Setup of general apps {{{ err_fail gammastep & -err_fail wlr-randr --output DP-2 --pos 2560,0 -err_fail wlr-randr --output DP-1 --scale 1.5 --pos 0,0 +case $(cat /etc/hostname) in + "lahmu") + err_fail wlr-randr --output Virtual-1 --mode 1920x1080 + ;; + "tiamat") + err_fail wlr-randr --output DP-2 --pos 2560,0 + err_fail wlr-randr --output DP-1 --scale 1.5 --pos 0,0 + ;; + *) + warning "Host not supported" +esac err_fail yambar & @@ -78,3 +87,4 @@ err_fail rivertile -main-ratio 0.5 -view-padding 1 -outer-padding 0 #riverctl default-layout luatile #river-luatile # }}} +# vim: ft=sh |