From 335c34c82720180c1f2c71b8c199bc2bc512b804 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 3 Mar 2020 16:44:02 +0530 Subject: ... --- bin/.local/bin/lock | 6 ++++++ polybar/.config/polybar/config | 2 +- sxhkd/.config/sxhkd/sxhkdrc | 2 +- x/.xinitrc | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100755 bin/.local/bin/lock diff --git a/bin/.local/bin/lock b/bin/.local/bin/lock new file mode 100755 index 0000000..d7dc632 --- /dev/null +++ b/bin/.local/bin/lock @@ -0,0 +1,6 @@ +#!/bin/bash +scrot /tmp/screen.png +convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png +[[ -f $1 ]] && convert /tmp/screen.png $1 -gravity center -composite -matte /tmp/screen.png +i3lock -u -i /tmp/screen.png +rm /tmp/screen.png diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index a09d59f..6d55957 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -65,7 +65,7 @@ ws-icon-7 = game;戮 ws-icon-default =  label-focused = %name% -label-focused-foreground = ${xrdb:color4:#ffd7b1} +label-focused-foreground = ${xrdb:color14:#ffd7b1} label-focused-padding = 1 ;label-focused-font = 10 diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 7e91465..b7e3d8a 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -30,7 +30,7 @@ super + Escape super + shift + w firefox control + alt + l - light-locker-command -l + /home/fd0e/.local/bin/lock super + shift + f pcmanfm Print diff --git a/x/.xinitrc b/x/.xinitrc index 8626b1b..13792ac 100644 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -60,5 +60,5 @@ if [ "$2" = "nvidia" ]; then xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto fi - +xsetroot -cursor_name left_ptr exec bspwm -- cgit v1.2.3