diff options
Diffstat (limited to '')
-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]) { |