river: ponerle colores a river-tag-overlay

This commit is contained in:
Cat /dev/Nulo 2021-12-30 17:06:06 -03:00
parent 3a7400a3d1
commit 0aae9a35c9
2 changed files with 17 additions and 1 deletions

View file

@ -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"

View file

@ -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