diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-03-03 11:14:02 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-03-03 11:14:02 +0000 |
commit | 335c34c82720180c1f2c71b8c199bc2bc512b804 (patch) | |
tree | 5ca8151d99b5b7bdb6cc58e33614034412a9725e | |
parent | eb506540b2539c14f3bb7910fa5478e4d60b17ee (diff) |
...
-rwxr-xr-x | bin/.local/bin/lock | 6 | ||||
-rw-r--r-- | polybar/.config/polybar/config | 2 | ||||
-rw-r--r-- | sxhkd/.config/sxhkd/sxhkdrc | 2 | ||||
-rw-r--r-- | x/.xinitrc | 2 |
4 files changed, 9 insertions, 3 deletions
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 @@ | |||
1 | #!/bin/bash | ||
2 | scrot /tmp/screen.png | ||
3 | convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png | ||
4 | [[ -f $1 ]] && convert /tmp/screen.png $1 -gravity center -composite -matte /tmp/screen.png | ||
5 | i3lock -u -i /tmp/screen.png | ||
6 | 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;戮 | |||
65 | ws-icon-default = | 65 | ws-icon-default = |
66 | 66 | ||
67 | label-focused = %name% | 67 | label-focused = %name% |
68 | label-focused-foreground = ${xrdb:color4:#ffd7b1} | 68 | label-focused-foreground = ${xrdb:color14:#ffd7b1} |
69 | label-focused-padding = 1 | 69 | label-focused-padding = 1 |
70 | ;label-focused-font = 10 | 70 | ;label-focused-font = 10 |
71 | 71 | ||
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 | |||
30 | super + shift + w | 30 | super + shift + w |
31 | firefox | 31 | firefox |
32 | control + alt + l | 32 | control + alt + l |
33 | light-locker-command -l | 33 | /home/fd0e/.local/bin/lock |
34 | super + shift + f | 34 | super + shift + f |
35 | pcmanfm | 35 | pcmanfm |
36 | 36 | ||
@@ -60,5 +60,5 @@ if [ "$2" = "nvidia" ]; then | |||
60 | xrandr --setprovideroutputsource modesetting NVIDIA-0 | 60 | xrandr --setprovideroutputsource modesetting NVIDIA-0 |
61 | xrandr --auto | 61 | xrandr --auto |
62 | fi | 62 | fi |
63 | 63 | xsetroot -cursor_name left_ptr | |
64 | exec bspwm | 64 | exec bspwm |