From 693803107511648a4babfb9d0215bedaa5874542 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 9 Aug 2016 18:22:16 -0400 Subject: [PATCH] Minor changes --- i3/config | 2 +- i3/run.sh | 3 +++ shells/zshrc | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/i3/config b/i3/config index 892ce95..5664ebe 100644 --- a/i3/config +++ b/i3/config @@ -177,5 +177,5 @@ exec --no-startup-id /usr/bin/shutter --min_at_startup exec --no-startup-id /usr/bin/redshift -l 36.3:-80.3 -t 4000:2000 exec --no-startup-id /usr/bin/parcellite exec --no-startup-id /usr/bin/numlockx -#exec --no-startup-id /bin/zsh -c 'pidof syncthing||screen -dmS syncthing /home/stonewareslord/applications/syncthing/syncthing ' +exec --no-startup-id /bin/zsh -c 'pidof syncthing||screen -dmS syncthing ~/bin/syncthing' # vim: ts=2:sw=2:et diff --git a/i3/run.sh b/i3/run.sh index e96d083..ad15497 100755 --- a/i3/run.sh +++ b/i3/run.sh @@ -44,6 +44,9 @@ if [ "$1" = "boot" ];then /usr/bin/xset s off /usr/bin/xset -dpms /usr/bin/urxvtd -q -f -o + xinput --set-prop 'Logitech USB Optical Mouse' 'Device Accel Constant Deceleration' 3 + #xinput set-button-map "Logitech USB Optical Mouse" 3 2 1 + xmodmap <(echo pointer = 3 2 1) $(which ck-launch-session 2>/dev/null) $(which i3) fi if [ "$1" = "screen-lock" ];then diff --git a/shells/zshrc b/shells/zshrc index c67e7f1..50ee1ed 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -38,6 +38,8 @@ sv () { elif [[ "$command" == "i" ]]; then echo "Status of $1" service "$1" status + else + sudo service "$1" "$command" fi shift done