Automatic fixes from shfmt
This commit is contained in:
parent
8681e8a0da
commit
a410d8ef6f
1 changed files with 31 additions and 31 deletions
|
@ -145,12 +145,12 @@ hc keybind XF86AudioPrev spawn mpc prev
|
|||
hc keybind Print spawn scrot \
|
||||
"${HOME}/pictures/screenshots/desktop/%Y%m%d_\$wx\$h_scrot.png"
|
||||
|
||||
if which lumeus >/dev/null 2>&1; then
|
||||
if which lumeus > /dev/null 2>&1; then
|
||||
hc keybind XF86MonBrightnessUp spawn lumeus +10%
|
||||
hc keybind XF86MonBrightnessDown spawn lumeus -10%
|
||||
fi
|
||||
|
||||
if which ponymix >/dev/null 2>&1; then
|
||||
if which ponymix > /dev/null 2>&1; then
|
||||
hc keybind XF86AudioMute spawn ponymix toggle
|
||||
hc keybind XF86AudioLowerVolume spawn ponymix decrease 10
|
||||
hc keybind XF86AudioRaiseVolume spawn ponymix increase 10
|
||||
|
@ -160,19 +160,19 @@ fi
|
|||
hc set default_frame_layout 2
|
||||
|
||||
## Tags:
|
||||
tag_names=( dev web {3..10} )
|
||||
tag_indexes=( {1..${#tag_names}} )
|
||||
tag_keys=( bracketleft braceleft braceright parenleft equal
|
||||
asterisk parenright plus bracketright exclam )
|
||||
tag_names=(dev web {3..10})
|
||||
tag_indexes=({1..${#tag_names}})
|
||||
tag_keys=(bracketleft braceleft braceright parenleft equal
|
||||
asterisk parenright plus bracketright exclam)
|
||||
|
||||
hc rename default "${tag_names[1]}" || true
|
||||
for i in $tag_indexes; do
|
||||
hc add "${tag_names[$i]}"
|
||||
key="${tag_keys[$i]}"
|
||||
if ! [ -z "$key" ] ; then
|
||||
if ! [ -z "$key" ]; then
|
||||
# ZSH array indexes start at 1, herbstluftwm tag indexes start
|
||||
# at zero, so subtract one to match them.
|
||||
j=$(( $i - 1 ))
|
||||
j=$((i - 1))
|
||||
# first check if the tag is locked to some monitor.
|
||||
# if so, first focus the monitor
|
||||
hc keybind "$Mod-$key" chain \
|
||||
|
|
Loading…
Reference in a new issue