summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-21 13:02:36 +0200
committerKyren223 <Kyren223@proton.me>2024-11-21 13:02:36 +0200
commitd2608358a289343cba5d7a43b3b636cffd8cbd99 (patch)
tree33be929ac474280196d333ea7092fca62bcb6987 /.zshrc
parent60596c6680ac49951828031fb72746656558a940 (diff)
Made battery notifications work
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index f8699e6..af12135 100644
--- a/.zshrc
+++ b/.zshrc
@@ -94,6 +94,10 @@ eval $(keychain --quiet --eval --timeout 300 ~/.ssh/id_ed25519)
# Open tmux if it's not open
if [ -z "$TMUX" ]; then
tmux a || tmux
+ # HACK: Send a notification so systemd notification will work
+ # Using tmux to only run this at startup
+ # I guess this works because it initializes some stuff?
+ notify-send --urgency=normal --expire-time=1 " "
fi
END_TIME=$(date +%s.%4N)