diff --git a/.config/river/init b/.config/river/init index ee3136e..95d7349 100755 --- a/.config/river/init +++ b/.config/river/init @@ -1,23 +1,23 @@ #!/bin/sh dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river -riverctl spawn "pgrep -x pipewire || pipewire" +riverctl spawn "pgrep -x pipewire >/dev/null || pipewire" riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr" ~/.config/river/load-colors brillo -I -riverctl spawn "pgrep -x foot || foot --server" -riverctl spawn "pgrep -x mako || mako" +riverctl spawn "pgrep -x foot >/dev/null || foot --server" +riverctl spawn "pgrep -x mako >/dev/null || mako" if test -f ~/.config/river/coordenadas; then - riverctl spawn "pgrep -x wlsunset || wlsunset $(cat ~/.config/river/coordenadas)" + riverctl spawn "pgrep -x wlsunset >/dev/null || wlsunset $(cat ~/.config/river/coordenadas)" else echo "¡Falta ~/.config/river/coordenadas!" fi -riverctl spawn "pgrep -x syncthing || syncthing -no-browser" -riverctl spawn "pgrep -x river-tag-overl || river-tag-overlay --anchors=1:0:0:0" +riverctl spawn "pgrep -x syncthing >/dev/null || syncthing -no-browser" +riverctl spawn "pgrep -x river-tag-overl >/dev/null || river-tag-overlay --anchors=1:0:0:0" # yambar spawned by load-colors -riverctl spawn "pgrep -x kanshi || kanshi" +riverctl spawn "pgrep -x kanshi >/dev/null || kanshi" riverctl set-repeat 30 290 @@ -31,5 +31,5 @@ riverctl float-filter-add title "Firefox — Sharing Indicator" ~/.config/river/keys -riverctl spawn "pgrep -x rivertile || rivertile -view-padding 0 -outer-padding 0" +riverctl spawn "pgrep -x rivertile >/dev/null || rivertile -view-padding 0 -outer-padding 0" riverctl default-layout rivertile