add sway and waybar configs

This commit is contained in:
2026-03-05 14:47:40 +00:00
parent 25e96dfb74
commit 11838c0f98
6 changed files with 616 additions and 1 deletions

14
sh/waybar-history Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# waybar-history: streams last zsh history command, updates on each new entry
histfile="$HOME/.zsh_history"
output() {
tail -1 "$histfile" | cut -d';' -f2-
}
output
while inotifywait -qq -e close_write "$histfile" 2>/dev/null; do
output
done