Replace dunst with twmnd, add linconnect-server

This commit is contained in:
2014-01-11 19:23:45 +03:00
parent ca69dc81d4
commit a3ff1abf4e
3 changed files with 4 additions and 17 deletions

BIN
.XCompose

Binary file not shown.

View File

@@ -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

View File

@@ -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