mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 20:01:49 +08:00
Compare commits
No commits in common. "24c82b8e2dd275c8d249730dfb8397fa3c33f757" and "37819d773f586e588d3edf9fdc99896609c13985" have entirely different histories.
24c82b8e2d
...
37819d773f
@ -54,11 +54,10 @@ bindsym XF86AudioMute exec amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[(
|
|||||||
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
|
|
||||||
bindsym XF86AudioPlay exec 'playerctl play'
|
bindsym XF86AudioPlay exec playerctl play
|
||||||
bindsym XF86AudioPause exec 'playerctl pause'
|
bindsym XF86AudioPause exec playerctl pause
|
||||||
binsdym XF86AudioStop exec 'playerctl stop'
|
bindsym XF86AudioNext exec playerctl next
|
||||||
bindsym XF86AudioNext exec 'playerctl next'
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
bindsym XF86AudioPrev exec 'playerctl previous'
|
|
||||||
|
|
||||||
#borders stuff
|
#borders stuff
|
||||||
|
|
||||||
|
4
.zshrc
4
.zshrc
@ -71,14 +71,16 @@ zz () {
|
|||||||
}
|
}
|
||||||
alias zc="z -c"
|
alias zc="z -c"
|
||||||
|
|
||||||
|
|
||||||
n ()
|
n ()
|
||||||
{
|
{
|
||||||
|
# Block nesting of nnn in subshells
|
||||||
if [ -n $NNNLVL ] && [ "${NNNLVL:-0}" -ge 1 ]; then
|
if [ -n $NNNLVL ] && [ "${NNNLVL:-0}" -ge 1 ]; then
|
||||||
echo "nnn is already running"
|
echo "nnn is already running"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
|
NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
|
||||||
nnn "$@"
|
nnn "$@" "-G"
|
||||||
if [ -f "$NNN_TMPFILE" ]; then
|
if [ -f "$NNN_TMPFILE" ]; then
|
||||||
. "$NNN_TMPFILE"
|
. "$NNN_TMPFILE"
|
||||||
rm -f "$NNN_TMPFILE" > /dev/null
|
rm -f "$NNN_TMPFILE" > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user