mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13: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
|
||||
|
14
.zshrc
14
.zshrc
@@ -21,6 +21,7 @@ alias ll='exa -la'
|
||||
alias grep='grep --color=auto --line-buffered'
|
||||
alias vi='nvim'
|
||||
alias vim='nvim'
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
export EDITOR='vim'
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
@@ -29,20 +30,7 @@ export GPG_TTY=$(tty)
|
||||
setopt noincappendhistory
|
||||
|
||||
# golang
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
|
||||
# rust
|
||||
export PATH=$PATH:$HOME/.cargo/bin
|
||||
|
||||
# jvm
|
||||
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
|
||||
export PATH=$PATH:$HOME/.local/groovy-3.0.1/bin
|
||||
|
||||
# nodejs
|
||||
export PATH=$PATH:$HOME/.local/node-v13.8.0-linux-x64/bin
|
||||
export PATH=$HOME/.npm-global/bin:$PATH
|
||||
|
||||
# fzf
|
||||
[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh
|
||||
|
Reference in New Issue
Block a user