Replace dunst with twmnd, add linconnect-server
This commit is contained in:
7
.xinitrc
7
.xinitrc
@@ -27,10 +27,10 @@ export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
|
||||
(
|
||||
xautolock \
|
||||
-noclose \
|
||||
-locker '~/bin/screensaver start' \
|
||||
-notify 5 -notifier '~/bin/screensaver notify 5' \
|
||||
-locker slock \
|
||||
-notify 5 -notifier 'notify-send Screensaver Activating...' \
|
||||
-corners 0+-0 -cornerdelay 1 -cornerredelay 900000 &
|
||||
dunst &
|
||||
twmnd &
|
||||
gtk-redshift &
|
||||
skype &
|
||||
psi-plus &
|
||||
@@ -38,6 +38,7 @@ export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
|
||||
pa-applet &
|
||||
clipit &
|
||||
clementine &
|
||||
linconnect-server &
|
||||
)
|
||||
|
||||
i3status=~/.config/i3status/config
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$1" = "notify" ]; then
|
||||
# notify-send help says timeout is in milliseconds
|
||||
# but it appears that it is really in seconds (is it a dunst bug?)
|
||||
[ $2 -gt 1 ] && notify-send -t $[$2-1] "Activating screensaver in $2 seconds..."
|
||||
else
|
||||
killall -USR1 dunst
|
||||
slock &
|
||||
slock_pid=$!
|
||||
# for xautolock -unlocknow
|
||||
trap "killall -USR2 dunst; kill $slock_pid" EXIT
|
||||
wait $slock_pid
|
||||
fi
|
||||
Reference in New Issue
Block a user