scripts: add lock script
This commit is contained in:
parent
8194fca114
commit
67bae56bd3
|
@ -149,6 +149,7 @@ profiles:
|
|||
tabR: Y
|
||||
insertMode: s
|
||||
insertQuit: kk
|
||||
menu: s
|
||||
|
||||
qwerty:
|
||||
variables:
|
||||
|
@ -164,6 +165,7 @@ profiles:
|
|||
tabR: O
|
||||
insertMode: i
|
||||
insertQuit: jj
|
||||
menu: d
|
||||
|
||||
|
||||
###############################################################
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
swaylock -f
|
||||
|
||||
env SVDIR="{{@@ user_svdir @@}}" sv up swayidle
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
swaylock -f
|
||||
_lock
|
||||
|
||||
loginctl suspend &
|
||||
systemctl suspend &
|
||||
|
|
|
@ -22,9 +22,8 @@ set $Up {{@@ key.up @@}}
|
|||
set $Right {{@@ key.right @@}}
|
||||
set $tabL {{@@ key.tabL @@}}
|
||||
set $tabR {{@@ key.tabR @@}}
|
||||
|
||||
set $menu s
|
||||
set $mus r
|
||||
set $lock {{@@ key.next @@}}
|
||||
set $menu {{@@ key.menu @@}}
|
||||
|
||||
###############################################################
|
||||
# Includes
|
||||
|
|
|
@ -37,6 +37,9 @@ $mod+p exec wpass
|
|||
# Reload the configuration file
|
||||
$mod+Shift+c reload
|
||||
|
||||
# Lock Sway
|
||||
$mod+$lock exec _lock
|
||||
|
||||
# Lock Sway and suspend
|
||||
--locked $mod+Control+z exec _suspend
|
||||
|
||||
|
|
Reference in New Issue