moar cleanup
This commit is contained in:
parent
aa0d694b9a
commit
142b1ebdf6
|
@ -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 Timeout" 200
|
||||
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
|
||||
|
||||
eval $(ssh-agent)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 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
|
||||
|
||||
|
|
|
@ -16,24 +16,24 @@ set -e
|
|||
|
||||
# subshell this shiz
|
||||
(
|
||||
IMAGE=/tmp/i3lock.png
|
||||
IMAGE=/tmp/i3lock.png
|
||||
|
||||
# All options are here: http://www.imagemagick.org/Usage/blur/#blur_args
|
||||
# BLURTYPE="0x5" # 7.52s
|
||||
# BLURTYPE="0x2" # 4.39s
|
||||
BLURTYPE="5x3" # 3.80s
|
||||
# BLURTYPE="2x8" # 2.90s
|
||||
# BLURTYPE="2x3" # 2.92s
|
||||
# All options are here: http://www.imagemagick.org/Usage/blur/#blur_args
|
||||
# BLURTYPE="0x5" # 7.52s
|
||||
# BLURTYPE="0x2" # 4.39s
|
||||
BLURTYPE="5x3" # 3.80s
|
||||
# BLURTYPE="2x8" # 2.90s
|
||||
# BLURTYPE="2x3" # 2.92s
|
||||
|
||||
scrot $IMAGE
|
||||
scrot $IMAGE
|
||||
|
||||
docker run --rm \
|
||||
-v $IMAGE:$IMAGE \
|
||||
-v $HOME/Pictures/lock.png:/root/lock.png \
|
||||
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"
|
||||
docker run --rm \
|
||||
-v $IMAGE:$IMAGE \
|
||||
-v $HOME/Pictures/lock.png:/root/lock.png \
|
||||
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"
|
||||
|
||||
i3lock -i $IMAGE
|
||||
i3lock -i $IMAGE
|
||||
|
||||
rm $IMAGE
|
||||
rm $IMAGE
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue