From 142b1ebdf608ebfdce41f080177c9fa25509f9a9 Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Wed, 13 Apr 2016 18:09:07 +0200 Subject: [PATCH] moar cleanup --- .xsessionrc | 2 ++ README.md | 2 +- bin/fancy-i3lock | 30 +++++++++++++++--------------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.xsessionrc b/.xsessionrc index ba38c0b..07508dc 100755 --- a/.xsessionrc +++ b/.xsessionrc @@ -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) diff --git a/README.md b/README.md index 443f0ed..02c92c5 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/bin/fancy-i3lock b/bin/fancy-i3lock index 4fbf64f..e051806 100755 --- a/bin/fancy-i3lock +++ b/bin/fancy-i3lock @@ -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 )