about summary refs log tree commit diff stats
path: root/home-manager/wms
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-28 13:43:33 +0100
committerene <ene@sils.li>2023-02-28 13:43:33 +0100
commit635a5714f9e845166d9190b28a0578dcd18d1f2c (patch)
tree1f021761e2d6d3e13c3c353ad9036696ab765f66 /home-manager/wms
parentFix(home/wm/river): Remove gsettings (diff)
downloadnixos-config-635a5714f9e845166d9190b28a0578dcd18d1f2c.tar.gz
nixos-config-635a5714f9e845166d9190b28a0578dcd18d1f2c.zip
Fix(hm/wms/river): Refactor init script
Diffstat (limited to '')
-rwxr-xr-xhome-manager/wms/river/init11
1 files changed, 3 insertions, 8 deletions
diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init
index ee207d92..cff3409d 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
@@ -15,18 +15,15 @@ exec 1>>"$HOME/river_log"
 exec 2>>"$HOME"/river_log
 
 #Setup of environment variables {{{
-err_fail msg "Starting environment variables set"
 err_fail riverctl spawn "exec dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND_DISPLAY DESKTOP_SESSION=river XDG_CURRENT_DESKTOP=river"
 err_fail export XDG_CURRENT_DESKTOP=river
 #}}}
 
 # Setup of mappings {{{
-err_fail msg "Started river_init_lesser"
 err_fail river_init_lesser ~/.config/river/res/keys.ron
 # }}}
 
 # Setup of Rules {{{
-err_fail msg "Starting Rules set"
 err_fail riverctl float-filter-add app-id float
 err_fail riverctl float-filter-add app-id mpv
 err_fail riverctl float-filter-add app-id ModernGL
@@ -36,7 +33,6 @@ err_fail riverctl csd-filter-add app-id firefox
 # }}}
 
 # Set riverctl settings {{{
-err_fail msg "Starting Riverctl settings"
 # background
 err_fail riverctl background-color 0x002b36
 err_fail riverctl border-color-focused 0x93a1a1
@@ -55,11 +51,10 @@ err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 pointer-ac
 err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 accel-profile none
 
 # remove GTK buttons in titlebar
-# err_fail gsettings set org.gnome.desktop.wm.preferences button-layout "" # TODO fix this
+err_fail gsettings set org.gnome.desktop.wm.preferences button-layout "" # TODO fix this
 # }}}
 
 # Setup of general apps {{{
-err_fail msg "Starting apps"
 err_fail gammastep &
 
 err_fail wlr-randr --output DP-2 --pos 2560,0