Compare commits

...

3 commits

Author SHA1 Message Date
2de8db5661 zeit-bg-daemon 2022-05-04 17:09:38 -03:00
9be44240a3 river: Zoom en C 2022-05-04 17:08:17 -03:00
5c7e642d19 river: Padding 2022-05-04 17:08:11 -03:00
4 changed files with 19 additions and 2 deletions

View file

@ -25,5 +25,6 @@ riverctl float-filter-add app-id fzf
~/.config/river/keys ~/.config/river/keys
riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --primary-sublayout=stack --inner-padding=0 --outer-padding=0" riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --primary-sublayout=stack"
riverctl spawn "killall zeit-bg-daemon ; zeit-bg-daemon"
riverctl default-layout stacktile riverctl default-layout stacktile

View file

@ -36,7 +36,7 @@ riverctl map normal None Super_L spawn "killall -SIGUSR1 river-tag-overlay"
#riverctl map normal $mod+Shift Period send-to-output next #riverctl map normal $mod+Shift Period send-to-output next
#riverctl map normal $mod+Shift Comma send-to-output previous #riverctl map normal $mod+Shift Comma send-to-output previous
riverctl map normal $mod Return zoom riverctl map normal $mod C zoom
riverctl declare-mode move-resize riverctl declare-mode move-resize
riverctl map normal $mod R enter-mode move-resize riverctl map normal $mod R enter-mode move-resize

View file

@ -0,0 +1,13 @@
#!/bin/sh
. ~/.cache/themer.lua/shell
tracking="$(zeit tracking --no-colors)"
if echo "$tracking" | grep -q '^ ▶ tracking'; then
color="$backgroundish"
else
color="$background"
fi
riverctl background-color "0x$color"

3
.local/bin/zeit-bg-daemon Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
~/.local/bin/.zeit-bg-daemon.trigger
busybox inotifyd ~/.local/bin/.zeit-bg-daemon.trigger "$ZEIT_DB:c"