diff options
author | joe <rbo@gmx.us> | 2025-09-22 16:25:26 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-09-22 16:25:26 +0200 |
commit | e2cca326ee684a01f6a3c79d93de7db1e0985060 (patch) | |
tree | 065fbd6bd8782f00a7b8002f4d08f576923492db | |
parent | up (diff) | |
download | dotfiles-bsd-e2cca326ee684a01f6a3c79d93de7db1e0985060.tar.gz dotfiles-bsd-e2cca326ee684a01f6a3c79d93de7db1e0985060.tar.bz2 dotfiles-bsd-e2cca326ee684a01f6a3c79d93de7db1e0985060.tar.xz dotfiles-bsd-e2cca326ee684a01f6a3c79d93de7db1e0985060.tar.zst dotfiles-bsd-e2cca326ee684a01f6a3c79d93de7db1e0985060.zip |
up
-rw-r--r-- | .config/x11/xinitrc | 2 | ||||
-rwxr-xr-x | .local/bin/dmlog | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 5e0efb3..54dc1b4 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -80,6 +80,6 @@ startif blueman-applet cd "$HOME" xrdb "$HOME"/.config/x11/xresources start_apps & -notify-send -u normal 'Welcome' "$icon Welcome back, partner!" +notify-send -u normal 'welcome' "$icon welcome back, partner!" [ $host = "po-rbo" ] && exec dbus-run-session dwm diff --git a/.local/bin/dmlog b/.local/bin/dmlog index 600e4d4..8b529df 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -64,8 +64,12 @@ sub action "-fail-color", "0xcc241d"); } else { - exec(SLOCK_PATH); - # exec(XSCREENSAVER_PATH, '-lock'); + my $icon; + $icon = ""; + $icon = " " if HOSTNAME eq 'mother'; + $icon = " " if HOSTNAME eq 'po-rbo'; + $icon = " " if HOSTNAME eq 'mars'; + exec(SLOCK_PATH . " && notify-send -u normal -t 4000 welcome '$icon welcome back, partner!'"); } } elsif ($var eq ${+LIST}[1]) { |