]> Freerunner's - dotfiles.git/commitdiff
bin: clean up
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 11 Dec 2023 05:53:07 +0000 (06:53 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:52 +0000 (18:18 +0200)
bin/.local/bin/kak-desktop [deleted file]
bin/.local/bin/kak-shell [deleted file]
bin/.local/bin/launch-waybar [new file with mode: 0755]

diff --git a/bin/.local/bin/kak-desktop b/bin/.local/bin/kak-desktop
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/bin/.local/bin/kak-shell b/bin/.local/bin/kak-shell
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/bin/.local/bin/launch-waybar b/bin/.local/bin/launch-waybar
new file mode 100755 (executable)
index 0000000..9eee56c
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+CONFIG_FILES="$HOME/.config/waybar/config $HOME/.config/waybar/style.css"
+
+trap "killall waybar" EXIT
+
+while true; do
+    waybar &
+    inotifywait -e create,modify $CONFIG_FILES
+    killall waybar
+done
+