summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/.local/bin/lock6
-rw-r--r--polybar/.config/polybar/config2
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc2
-rw-r--r--x/.xinitrc2
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
2scrot /tmp/screen.png
3convert /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
5i3lock -u -i /tmp/screen.png
6rm /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;戮
65ws-icon-default =  65ws-icon-default = 
66 66
67label-focused = %name% 67label-focused = %name%
68label-focused-foreground = ${xrdb:color4:#ffd7b1} 68label-focused-foreground = ${xrdb:color14:#ffd7b1}
69label-focused-padding = 1 69label-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
30super + shift + w 30super + shift + w
31 firefox 31 firefox
32control + alt + l 32control + alt + l
33 light-locker-command -l 33 /home/fd0e/.local/bin/lock
34super + shift + f 34super + shift + f
35 pcmanfm 35 pcmanfm
36Print 36Print
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
60 xrandr --setprovideroutputsource modesetting NVIDIA-0 60 xrandr --setprovideroutputsource modesetting NVIDIA-0
61 xrandr --auto 61 xrandr --auto
62fi 62fi
63 63xsetroot -cursor_name left_ptr
64exec bspwm 64exec bspwm