From af303679d8fd34b232b14af8c53f0be78856c41f Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 24 Oct 2021 13:41:56 -0300 Subject: [PATCH] river: solo iniciar servicios una vez --- .config/river/init | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/river/init b/.config/river/init index c296099..629ff0b 100755 --- a/.config/river/init +++ b/.config/river/init @@ -7,13 +7,13 @@ riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr" ~/.config/river/load-colors brillo -I -riverctl spawn "foot --server" -riverctl spawn "mako" -riverctl spawn "gammastep -l -34.5:-58.4" -riverctl spawn "syncthing -no-browser" -riverctl spawn "river-tag-overlay" +riverctl spawn "pgrep -x foot || foot --server" +riverctl spawn "pgrep -x mako || mako" +riverctl spawn "pgrep -x gammastep || gammastep -l -34.5:-58.4" +riverctl spawn "pgrep -x syncthing || syncthing -no-browser" +riverctl spawn "pgrep -x river-tag-overl || river-tag-overlay" # yambar spawned by load-colors -riverctl spawn "kanshi" +riverctl spawn "pgrep -x kanshi || kanshi" riverctl spawn 'swayidle -w \ timeout 250 "brillo -O; brillo -S 5" resume "brillo -I" \