mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Bind lock to slock
This commit is contained in:
@@ -71,9 +71,8 @@ set path+=**
|
||||
" Display all matching files when we tab complete
|
||||
set wildmenu
|
||||
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set expandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
|
||||
" Enable folding
|
||||
set foldmethod=indent
|
||||
|
@@ -9,6 +9,4 @@ feeds:
|
||||
- https://www.reddit.com/r/linux/.rss
|
||||
- https://www.zdnet.com/topic/security/rss.xml
|
||||
# Optionally define an application to view the feeds
|
||||
externalViewer: firefox-developer-edition
|
||||
externalViewerArgs:
|
||||
- --new-window
|
||||
externalViewer: chromium
|
||||
|
@@ -14,10 +14,6 @@ super + d
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
|
||||
#
|
||||
# bspwm hotkeys
|
||||
#
|
||||
|
||||
# quit bspwm normally
|
||||
super + alt + Escape
|
||||
bspc quit
|
||||
@@ -114,7 +110,7 @@ super + shift + {Left,Down,Up,Right}
|
||||
|
||||
# shrink a window by moving one of its side inward
|
||||
super + shift + control + {Left,Down,Up,Right}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 20,left 20 0}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 20,left 20 0}
|
||||
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
@@ -128,15 +124,13 @@ super + {_,shift + }c
|
||||
super + equal
|
||||
bspc node @/ --equalize
|
||||
|
||||
# lock screen
|
||||
super + @l
|
||||
XSECURELOCK_NO_COMPOSITE=1 \
|
||||
XSECURELOCK_PASSWORD_PROMPT=kaomoji \
|
||||
xsecurelock
|
||||
|
||||
# suspend
|
||||
super + {_,shift + }s
|
||||
systemctl suspend
|
||||
systemctl suspend
|
||||
|
||||
# lock
|
||||
super + l
|
||||
slock
|
||||
|
||||
# screenshot
|
||||
super + @Print
|
||||
|
Reference in New Issue
Block a user