From 0aae9a35c9db86747329dc378bd7d2092346b114 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 30 Dec 2021 17:06:06 -0300 Subject: [PATCH] river: ponerle colores a river-tag-overlay --- .config/river/init | 1 - .config/river/load-colors | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.config/river/init b/.config/river/init index 77c62ea..aa379d5 100755 --- a/.config/river/init +++ b/.config/river/init @@ -15,7 +15,6 @@ else echo "¡Falta ~/.config/river/coordenadas!" fi 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 >/dev/null || kanshi" riverctl spawn "pgrep -x poweralertd >/dev/null || poweralertd" diff --git a/.config/river/load-colors b/.config/river/load-colors index 48d69bc..2717bbb 100755 --- a/.config/river/load-colors +++ b/.config/river/load-colors @@ -6,6 +6,23 @@ riverctl border-color-focused 0x$border_focused riverctl border-color-unfocused 0x$border_unfocused riverctl border-width 3 +riverctl spawn "killall river-tag-overlay >/dev/null ; river-tag-overlay \ + --anchors=0:0:1:0 \ + --timeout=2000 \ + --font='monospace:style=Bold:size=16' \ + --square-inner-padding=5 \ + --background-colour=0x$background \ + --border-colour=0x$border_unfocused \ + --square-active-background-colour=0x$border_focused \ + --square-active-border-colour=0x$border_focused \ + --square-active-occupied-colour=0x$background \ + --square-active-text-colour=0x$border_focused \ + --square-inactive-background-colour=0x$border_unfocused \ + --square-inactive-border-colour=0x$border_unfocused \ + --square-inactive-occupied-colour=0x$background \ + --square-inactive-text-colour=0x$border_focused \ + " + if test -n "$bg"; then riverctl spawn "killall swaybg ; swaybg --image $bg" fi