diff options
| -rw-r--r-- | .Xresources | 17 | ||||
| -rwxr-xr-x | .local/bin/powermenu.sh | 2 | ||||
| -rw-r--r-- | .xinitrc | 3 |
3 files changed, 21 insertions, 1 deletions
diff --git a/.Xresources b/.Xresources index aa2e59f..a0d8649 100644 --- a/.Xresources +++ b/.Xresources @@ -59,3 +59,20 @@ XTerm*color6: #689d6a XTerm*color14: #8ec07c XTerm*color7: #a89984 XTerm*color15: #ebdbb2 + +! Drag pointer to lower left corner to lock screen +XIdle*position : sw +! Leave it there for a second +XIdle*delay : 1 +! Lock screen after 5 minutes of inactivity +XIdle*timeout : 300 + +! xlock +XLock.mode : julia +XLock.description : off +XLock.info : +XLock.username : Username: +XLock.password : Password: +XLock.echokeys : on +XLock.echokey : * + diff --git a/.local/bin/powermenu.sh b/.local/bin/powermenu.sh index b717267..44816cf 100755 --- a/.local/bin/powermenu.sh +++ b/.local/bin/powermenu.sh @@ -19,7 +19,7 @@ rofi_command="rofi -theme themes/power-menu.rasi -i " chosen="$(echo -e "$options" | $rofi_command -dmenu -mesg "Power Menu" )" case $chosen in "$lock_screen") - xlock -mode julia + xlock ;; "$power_off") doas halt -p @@ -40,6 +40,9 @@ then done fi +# Start xidle +xidle & + # Setup keyboard type and languages setxkbmap -model pc105 -layout us,gb -option grp:win_space_toggle |
