diff options
Diffstat (limited to '.config/herbstluftwm/autostart')
-rwxr-xr-x | .config/herbstluftwm/autostart | 64 |
1 files changed, 27 insertions, 37 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 883c1d0..89b7ff8 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -44,41 +44,34 @@ hc keyunbind --all # keybindings hc keybind Mod4-Shift-r reload -hc keybind Mod4-e close_or_remove +hc keybind Mod4-q close_or_remove # basic movement # focusing clients -hc keybind Mod4-h focus left -hc keybind Mod4-j focus down -hc keybind Mod4-k focus up -hc keybind Mod4-l focus right +hc keybind Mod4-h focus left +hc keybind Mod4-j focus down +hc keybind Mod4-k focus up +hc keybind Mod4-l focus right # moving clients -hc keybind Mod4-Shift-h shift left -hc keybind Mod4-Shift-j shift down -hc keybind Mod4-Shift-k shift up -hc keybind Mod4-Shift-l shift right +hc keybind Mod4-Shift-h shift left +hc keybind Mod4-Shift-j shift down +hc keybind Mod4-Shift-k shift up +hc keybind Mod4-Shift-l shift right # cycle through clients -hc keybind Mod4-d cycle 1 -hc keybind Mod4-a cycle -1 - -# splitting frames -# create an empty frame at the specified direction -hc keybind Mod4-s chain .-. lock .-. split bottom 0.5 .-. focus -e d .-. unlock -hc keybind Mod4-v chain .-. lock .-. split right 0.5 .-. focus -e r .-. unlock -# create an empty frame and shift the currently focused client into it -hc keybind Mod4-Control-s chain .-. lock .-. split bottom 0.5 .-. shift down .-. unlock -hc keybind Mod4-Control-v chain .-. lock .-. split right 0.5 .-. shift right .-. unlock -# let the current frame explode into subframes +hc keybind Mod4-m cycle -1 +hc keybind Mod4-e cycle 1 + +# split frames hc keybind Mod4-Shift-space split explode # resizing frames resizestep=0.04 -hc keybind Mod4-Control-h resize left +$resizestep -hc keybind Mod4-Control-j resize down +$resizestep -hc keybind Mod4-Control-k resize up +$resizestep -hc keybind Mod4-Control-l resize right +$resizestep +hc keybind Mod4-Control-h resize left +$resizestep +hc keybind Mod4-Control-j resize down +$resizestep +hc keybind Mod4-Control-k resize up +$resizestep +hc keybind Mod4-Control-l resize right +$resizestep # tags tag_names=( {1..5} ) @@ -108,14 +101,14 @@ hc mousebind Mod4-Button2 zoom hc mousebind Mod4-Button3 resize # focus -hc keybind Mod4-BackSpace cycle_monitor -hc keybind Mod4-i jumpto urgent -hc keybind Mod4-m jumpto last-minimized +hc keybind Mod4-BackSpace cycle_monitor +hc keybind Mod4-i jumpto urgent +hc keybind Mod4-w jumpto last-minimized ## launchers #pass -hc keybind Mod4-x spawn ~/.config/herbstluftwm/pass.sh +hc keybind Mod4-x spawn ~/.config/herbstluftwm/pass.sh hc keybind Mod4-Shift-x spawn ~/.config/herbstluftwm/pass.sh -f #scrot-ing @@ -146,9 +139,6 @@ hc keybind Mod4-Shift-Control-w spawn alacritty -e ranger ~/projects/writin # grab colour to clipboard hc keybind Mod4-c spawn ~/.config/herbstluftwm/colourgrab.sh -# click -hc keybind Mod4-w spawn xdotool click 1 - # spawn hc keybind Mod4-Return spawn alacritty hc keybind Mod4-Shift-f spawn firejail --netfilter=/etc/firejail/nolocal.net firefox @@ -174,14 +164,14 @@ hc keybind Mod4-g spawn ~/.config/herbstluftwm/switcher.sh hc keybind XF86AudioLowerVolume spawn ~/.config/herbstluftwm/pvol.sh down hc keybind XF86AudioRaiseVolume spawn ~/.config/herbstluftwm/pvol.sh up -hc keybind XF86AudioMute spawn ~/.config/herbstluftwm/pvol.sh mute -hc keybind XF86AudioMicMute spawn ~/.config/herbstluftwm/pvol.sh +hc keybind XF86AudioMute spawn ~/.config/herbstluftwm/pvol.sh mute +hc keybind XF86AudioMicMute spawn ~/.config/herbstluftwm/pvol.sh # tunes -hc keybind Mod4-Up spawn ~/.config/herbstluftwm/mpc-status.sh -hc keybind Mod4-Down spawn mpc toggle +hc keybind Mod4-Up spawn ~/.config/herbstluftwm/mpc-status.sh +hc keybind Mod4-Down spawn mpc toggle hc keybind Mod4-Right spawn ~/.config/herbstluftwm/mpc-status.sh next -hc keybind Mod4-Left spawn ~/.config/herbstluftwm/mpc-status.sh prev +hc keybind Mod4-Left spawn ~/.config/herbstluftwm/mpc-status.sh prev ## end launchers @@ -214,7 +204,7 @@ if [[ $tablet_mode != "" ]]; then hc keybind XF86AudioRaiseVolume spawn ~/.config/herbstluftwm/backlight.sh hc keybind Mod4-bracketright spawn ~/.config/herbstluftwm/pvol.sh up - hc keybind Mod4-bracketleft spawn ~/.config/herbstluftwm/pvol.sh down + hc keybind Mod4-bracketleft spawn ~/.config/herbstluftwm/pvol.sh down fi |