moar cleanup

This commit is contained in:
Frieder Schlesier 2016-04-13 18:09:07 +02:00
parent aa0d694b9a
commit 142b1ebdf6
3 changed files with 18 additions and 16 deletions

View File

@ -2,3 +2,5 @@ xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
eval $(ssh-agent)

View File

@ -1,4 +1,4 @@
# dotfiles # dotfiles
some stuff that makes my linux life more portable and comfortable. uses containers. strongly inspired by awesome work of https://github.com/jfrazelle some stuff that makes my linux life more portable and comfortable. uses containers. strongly inspired by awesome work by https://github.com/jfrazelle

View File

@ -16,24 +16,24 @@ set -e
# subshell this shiz # subshell this shiz
( (
IMAGE=/tmp/i3lock.png IMAGE=/tmp/i3lock.png
# All options are here: http://www.imagemagick.org/Usage/blur/#blur_args # All options are here: http://www.imagemagick.org/Usage/blur/#blur_args
# BLURTYPE="0x5" # 7.52s # BLURTYPE="0x5" # 7.52s
# BLURTYPE="0x2" # 4.39s # BLURTYPE="0x2" # 4.39s
BLURTYPE="5x3" # 3.80s BLURTYPE="5x3" # 3.80s
# BLURTYPE="2x8" # 2.90s # BLURTYPE="2x8" # 2.90s
# BLURTYPE="2x3" # 2.92s # BLURTYPE="2x3" # 2.92s
scrot $IMAGE scrot $IMAGE
docker run --rm \ docker run --rm \
-v $IMAGE:$IMAGE \ -v $IMAGE:$IMAGE \
-v $HOME/Pictures/lock.png:/root/lock.png \ -v $HOME/Pictures/lock.png:/root/lock.png \
fschl/imagemagick \ fschl/imagemagick \
sh -c "convert $IMAGE -brightness-contrast -30x10 -level 0%,100%,0.6 -blur $BLURTYPE -gravity center - | composite -gravity center /root/lock.png - $IMAGE" sh -c "convert $IMAGE -brightness-contrast -30x10 -level 0%,100%,0.6 -blur $BLURTYPE -gravity center - | composite -gravity center /root/lock.png - $IMAGE"
i3lock -i $IMAGE i3lock -i $IMAGE
rm $IMAGE rm $IMAGE
) )