commit f360a25275d2467cc5a275a1fcc0cc78d4bd52d9
parent 0c2df9215771fbf43bb462a848881a5b5f09cfae
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sat, 29 Aug 2020 11:35:52 -0700
Update style
switch to tabs.
use `` instead of $()
remove quotes where possible.
Diffstat:
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -1,59 +1,59 @@
# terminal
super + t
- "$TERMINAL"
+ $TERMINAL
# attach to tmux session
super + shift + t
- "$TERMINAL" -e tmux a -t`tmux ls | cut -d: -f1 | dmenu`
+ $TERMINAL -e tmux a -t`tmux ls | cut -d: -f1 | dmenu`
# browser
super + f
- "$BROWSER"
+ $BROWSER
# dmenu
super + d
- dmenu_run
+ dmenu_run
# view bookmarks
super + {shift,_} + m
- mark {-a,_}
+ mark {-a,_}
# edit bookmarks
super + alt + m
- cd $BOOKMARK && $TERMINAL
+ cd $BOOKMARK && $TERMINAL
# launch sxiv on wallpapers
super + {_,shift} + p
- sxiv -rtb {$WALLPAPER, "`fsmenu -td $WALLPAPER`"}
+ sxiv -rtb {$WALLPAPER, `fsmenu -td $WALLPAPER`}
# next/prev song
alt + {bracketright,bracketleft}
- mpc {next,prev} && notify-send "$(mpc current)"
+ mpc {next,prev} && notify-send "`mpc current`"
# seeking
alt + shift {bracketright,bracketleft}
- mpc seek {+,-}15
+ mpc seek {+,-}15
# pause-play/stop
alt + backslash
- notify-send $(mpc toggle | grep -o "\[.*\]")
+ notify-send "`mpc toggle | grep -o "\[.*\]"`"
# control volume
alt + {apostrophe,semicolon}
- sndioctl output.level={+,-}0.05
+ sndioctl output.level={+,-}0.05
# mute input and output volume
alt + {shift,ctrl} + backslash
- sndioctl {output,input}.mute=!
+ sndioctl {output,input}.mute=!
# brightness controls
shift + alt + {apostrophe,semicolon}
- xbacklight -steps 1 -time 0 {-inc,-dec} 10
+ xbacklight -steps 1 -time 0 {-inc,-dec} 10
# lock then suspend
super + shift + s
- $LOCKER & apm -z
+ $LOCKER & apm -z
# lock
super + shift + l
- $LOCKER
+ $LOCKER