diff --git a/README.md b/README.md index 037cffb..ca16389 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ My personal configurations, managed with the 'dotdrop' submodule. + pdf-Viewer: `zathura` + Image-Viewer: `feh` + Movie-Viewer: `mpv` ++ Locking: `i3lock-color or xlock` ## Profiles + `laptop`: All of the dotfiles diff --git a/dotfiles/i3/config b/dotfiles/i3/config index c9f227c..8030756 100644 --- a/dotfiles/i3/config +++ b/dotfiles/i3/config @@ -216,7 +216,8 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2 {%@@ if profile == "laptop" @@%} # Locking -bindsym $mod+Shift+BackSpace exec "xlock -mode grav -info ''" +#bindsym $mod+Shift+BackSpace exec "xlock -mode grav -info ''" +bindsym $mod+Shift+BackSpace exec "~/scripts/lock-laptop" # Custom Workspaces # exec --no-startup-id "chromium-browser" diff --git a/dotfiles/scripts/lock-laptop b/dotfiles/scripts/lock-laptop new file mode 100755 index 0000000..2b5786f --- /dev/null +++ b/dotfiles/scripts/lock-laptop @@ -0,0 +1,47 @@ +#!/bin/sh + +i3lock \ + --blur=10 \ + --keylayout 1 \ + \ + --insidecolor=3b42527F \ + --ringcolor=2e34407f \ + --line-uses-ring \ + --keyhlcolor=a3be8c7f \ + --bshlcolor=d087707f \ + --separatorcolor=2e34407f \ + \ + --insidevercolor=ebcb8b7F \ + --ringvercolor=ebcb8b6f \ + --verifcolor=ebcb8b6f \ + \ + --insidewrongcolor=BF616A7F \ + --ringwrongcolor=bf616a7f \ + --wrongcolor=bf616aff \ + \ + --layoutcolor=ECEFF47f \ + --timecolor=ECEFF4ff \ + --datecolor=ECEFF4ff \ + \ + --timepos="ix:iy-300" \ + --timestr="%H:%M" \ + --datestr="%Y-%m-%d" \ + \ + --timesize=20 \ + --datesize=20 \ + --layoutsize=20 \ + --verifsize=20 \ + --wrongsize=20 \ + \ + --time-font=Inconsolata \ + --date-font=Inconsolata \ + --layout-font=Inconsolata \ + --verif-font=Inconsolata \ + --wrong-font=Inconsolata \ + \ + --veriftext="Tadasu..." \ + --noinputtext="" \ + --locktext="Itterasshai!" \ + --wrongtext="Chigau!" \ + \ + --ring-width 4