update
This commit is contained in:
parent
33ee2f5760
commit
f7afa33a13
14 changed files with 319 additions and 178 deletions
|
|
@ -333,6 +333,9 @@ in
|
|||
Mod+Shift+P { power-off-monitors; }
|
||||
Super+Backslash { focus-workspace "scratchpad"; }
|
||||
}
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
}
|
||||
layout {
|
||||
// center-focused-column "always"
|
||||
gaps 8
|
||||
|
|
@ -349,9 +352,10 @@ in
|
|||
|
||||
tab-indicator {
|
||||
hide-when-single-tab
|
||||
position "top"
|
||||
position "bottom"
|
||||
place-within-column
|
||||
width 8
|
||||
width 12
|
||||
length total-proportion=0.8
|
||||
gap 8
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,21 +58,23 @@ let
|
|||
# It would be ideal to determine _when_ the current event ends, and set the
|
||||
# timeout accordinly. That would require parsing khal's output a bit more.
|
||||
while true; do
|
||||
(inotifywait \
|
||||
--event modify \
|
||||
--event create \
|
||||
--event delete \
|
||||
--event close_write \
|
||||
--event moved_to \
|
||||
--event move \
|
||||
--monitor \
|
||||
--timeout 120 \
|
||||
--recursive \
|
||||
"$HOME/.calendars" 2> /dev/null) || true | \
|
||||
while read -r _; do
|
||||
# (inotifywait \
|
||||
# --event modify \
|
||||
# --event create \
|
||||
# --event delete \
|
||||
# --event close_write \
|
||||
# --event moved_to \
|
||||
# --event move \
|
||||
# --monitor \
|
||||
# --timeout 120 \
|
||||
# --recursive \
|
||||
# "$HOME/.calendars" 2> /dev/null) || true | \
|
||||
# while read -r _; do
|
||||
# TODO: fix inotify stuff
|
||||
render
|
||||
sleep 30
|
||||
# timeout 3 cat || true # debounce for 3s, https://stackoverflow.com/a/69945839
|
||||
done
|
||||
# done
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue