From a3ff1abf4ee6e8789d63a08669d551dc277e796b Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sat, 11 Jan 2014 19:23:45 +0300 Subject: [PATCH] Replace dunst with twmnd, add linconnect-server --- .XCompose | Bin 4913 -> 4966 bytes .xinitrc | 7 ++++--- bin/screensaver | 14 -------------- 3 files changed, 4 insertions(+), 17 deletions(-) delete mode 100755 bin/screensaver diff --git a/.XCompose b/.XCompose index 29655f20dea5269be1cc74096dd0d8ee3c537bc7..7dd779bd9d8e2d0116e4fe1847906b391411895c 100644 GIT binary patch delta 61 zcmdm}_DpSqp|GiqZ)r|RW_)&PrJaIJvYmoWZf0I-F@$ZUpyaHZ41)Q&N%;y%MX8C| JsYQxPTmXF26Mp~z delta 7 OcmaE+woz?^p)ddq#{$>@ diff --git a/.xinitrc b/.xinitrc index 6df4db0..743e231 100644 --- a/.xinitrc +++ b/.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 diff --git a/bin/screensaver b/bin/screensaver deleted file mode 100755 index 5a20cdc..0000000 --- a/bin/screensaver +++ /dev/null @@ -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