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
|
" Display all matching files when we tab complete
|
||||||
set wildmenu
|
set wildmenu
|
||||||
|
|
||||||
set tabstop=4
|
set tabstop=2
|
||||||
set shiftwidth=4
|
set shiftwidth=2
|
||||||
set expandtab
|
|
||||||
|
|
||||||
" Enable folding
|
" Enable folding
|
||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
|
@@ -9,6 +9,4 @@ feeds:
|
|||||||
- https://www.reddit.com/r/linux/.rss
|
- https://www.reddit.com/r/linux/.rss
|
||||||
- https://www.zdnet.com/topic/security/rss.xml
|
- https://www.zdnet.com/topic/security/rss.xml
|
||||||
# Optionally define an application to view the feeds
|
# Optionally define an application to view the feeds
|
||||||
externalViewer: firefox-developer-edition
|
externalViewer: chromium
|
||||||
externalViewerArgs:
|
|
||||||
- --new-window
|
|
||||||
|
@@ -14,10 +14,6 @@ super + d
|
|||||||
super + Escape
|
super + Escape
|
||||||
pkill -USR1 -x sxhkd
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
#
|
|
||||||
# bspwm hotkeys
|
|
||||||
#
|
|
||||||
|
|
||||||
# quit bspwm normally
|
# quit bspwm normally
|
||||||
super + alt + Escape
|
super + alt + Escape
|
||||||
bspc quit
|
bspc quit
|
||||||
@@ -114,7 +110,7 @@ super + shift + {Left,Down,Up,Right}
|
|||||||
|
|
||||||
# shrink a window by moving one of its side inward
|
# shrink a window by moving one of its side inward
|
||||||
super + shift + control + {Left,Down,Up,Right}
|
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
|
# move a floating window
|
||||||
super + {Left,Down,Up,Right}
|
super + {Left,Down,Up,Right}
|
||||||
@@ -128,15 +124,13 @@ super + {_,shift + }c
|
|||||||
super + equal
|
super + equal
|
||||||
bspc node @/ --equalize
|
bspc node @/ --equalize
|
||||||
|
|
||||||
# lock screen
|
|
||||||
super + @l
|
|
||||||
XSECURELOCK_NO_COMPOSITE=1 \
|
|
||||||
XSECURELOCK_PASSWORD_PROMPT=kaomoji \
|
|
||||||
xsecurelock
|
|
||||||
|
|
||||||
# suspend
|
# suspend
|
||||||
super + {_,shift + }s
|
super + {_,shift + }s
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
|
|
||||||
|
# lock
|
||||||
|
super + l
|
||||||
|
slock
|
||||||
|
|
||||||
# screenshot
|
# screenshot
|
||||||
super + @Print
|
super + @Print
|
||||||
|
14
.zshrc
14
.zshrc
@@ -21,6 +21,7 @@ alias ll='exa -la'
|
|||||||
alias grep='grep --color=auto --line-buffered'
|
alias grep='grep --color=auto --line-buffered'
|
||||||
alias vi='nvim'
|
alias vi='nvim'
|
||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
|
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
@@ -29,20 +30,7 @@ export GPG_TTY=$(tty)
|
|||||||
setopt noincappendhistory
|
setopt noincappendhistory
|
||||||
|
|
||||||
# golang
|
# golang
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
|
||||||
export GOPATH=$HOME/go
|
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
|
# fzf
|
||||||
[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh
|
[ -f $HOME/.fzf.zsh ] && source $HOME/.fzf.zsh
|
||||||
|
Reference in New Issue
Block a user