all repos — dotfiles @ a755fbc4e51746fbccfd67b6259b91ca169269f2

my *nix dotfiles

Configure i3lock and xautlock

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Wed, 12 Jun 2019 16:22:54 +0530
commit

a755fbc4e51746fbccfd67b6259b91ca169269f2

parent

4ea3a40b79b3197433a83a55f6a2541240e61eb7

2 files changed, 3 insertions(+), 5 deletions(-)

jump to
M bin/lock.shbin/lock.sh

@@ -1,10 +1,8 @@

-#!/bin/bash +#!/usr/bin/env bash image_file=/tmp/screen_lock.png resolution=$(xdpyinfo | grep dimensions | awk '{print $2}') filters='gblur=sigma=15' ffmpeg -y -loglevel 0 -s "$resolution" -f x11grab -i $DISPLAY -vframes 1 \ -vf "$filters" "$image_file" -i3lock -i $image_file -l '#222222' -o '#99C794' -w '#EC5f67' - - +i3lock -i $image_file -l '#ffffff' -o '#99C794' -w '#EC5f67'
M i3/configi3/config

@@ -191,7 +191,7 @@ exec_always --no-startup-id ~/bin/bar.sh

exec feh --bg-fill ~/.wall exec_always --no-startup-id ~/.local/bin/flashfocus exec_always dunst -# exec xautolock -time 5 -locker ~/scripts/lock.sh +exec xautolock -time 5 -locker ~/scripts/lock.sh # exec urxvtd & # exec xset -b