summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3')
-rw-r--r--i3/config4
-rwxr-xr-xi3/lock.sh2
2 files changed, 2 insertions, 4 deletions
diff --git a/i3/config b/i3/config
index 0aa8190..f728aec 100644
--- a/i3/config
+++ b/i3/config
@@ -27,8 +27,6 @@ bindsym $mod+Shift+q kill
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -i -nb '#373b41' -sb '#373b41' -sf '#f0c67i4'"
bindsym $mod+d exec rofi -show run -hide-scrollbar -separator-style "solid"
-
-
# i3lock
bindsym $mod+l exec ~/.config/i3/lock.sh
exec xautolock -time 15 -locker '~/.config/i3/lock.sh'
@@ -174,4 +172,4 @@ gaps inner 10
gaps outer 0
smart_gaps on
for_window [class="^.*"] border pixel 5
-hide_edge_borders both \ No newline at end of file
+hide_edge_borders both
diff --git a/i3/lock.sh b/i3/lock.sh
index d60f0df..40554b7 100755
--- a/i3/lock.sh
+++ b/i3/lock.sh
@@ -2,5 +2,5 @@
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 -i /tmp/screen.png
+i3lock -i /tmp/screen.png -k --timesize=50 --datesize=50 --radius=200 --datestr="%Y-%m-%d" --timecolor=f0c674ff --datecolor=f0c674ff --indicator --timepos="ix-cw/2:iy-cw/6" --datepos="tx:ty-50"
rm /tmp/screen.png