[ADD][I3] VPN toggle mapping
This commit is contained in:
parent
87d46ed8e7
commit
d17b060f8d
|
@ -359,6 +359,20 @@ mode "$mode_background" {
|
|||
|
||||
bindsym $mod+b mode "$mode_background"
|
||||
|
||||
# Enable or disable vpn permanently
|
||||
set $mode_vpn (e)nable (d)isable vpn
|
||||
|
||||
mode "$mode_vpn" {
|
||||
bindsym e exec --no-startup-id toggle-vpn --visual up, mode "default"
|
||||
bindsym d exec --no-startup-id toggle-vpn --visual down, mode "default"
|
||||
|
||||
# Exit vpn mode: "Enter" or "Escape" or $mod+x
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+c mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+c mode "$mode_vpn"
|
||||
|
||||
# Enable or disable xautolock permanently
|
||||
set $mode_xautolock (e)nable (d)isable Xautolock
|
||||
|
|
Loading…
Reference in a new issue