summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.directory2
-rw-r--r--.zshrc13
2 files changed, 9 insertions, 6 deletions
diff --git a/.directory b/.directory
index 9e80cfc..7d8f27c 100644
--- a/.directory
+++ b/.directory
@@ -1,2 +1,2 @@
[Desktop Entry]
-Icon=folder-grey
+Icon=folder-magenta
diff --git a/.zshrc b/.zshrc
index af12135..dbbb156 100644
--- a/.zshrc
+++ b/.zshrc
@@ -92,12 +92,15 @@ esac
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?
+# if [ -z "$TMUX" ]; then
+# tmux a || tmux
+# fi
+
+# HACK: Send a notification so systemd notification will work
+MARKER_FILE="/run/user/$(id -u)/zshrc_once_marker"
+if [ ! -f "$MARKER_FILE" ]; then
notify-send --urgency=normal --expire-time=1 " "
+ touch "$MARKER_FILE"
fi
END_TIME=$(date +%s.%4N)