diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-12-25 20:58:03 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-12-25 20:58:03 +0530 |
commit | b7487a098cc140448a633e763d1e7dd2fd087653 (patch) | |
tree | a5721c56fdf06a83775bfdf671733d2df87fe06f /herbstluftwm/autostart | |
parent | 93657d7a40972e39ea8d059efad608a39b372985 (diff) |
moved lemonbar to different folder
Diffstat (limited to 'herbstluftwm/autostart')
-rwxr-xr-x | herbstluftwm/autostart | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 9874f60e..b0b063a0 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -4,32 +4,26 @@ hc() { } hc emit_hook reload -# remove all existing keybindings +# remove all existing keybindings hc keyunbind --all + # focus follows mouse hc set focus_follows_mouse 1 Mod=Mod4 # Use the super key as the main modifier -myTerminal=st # keybindings (rest are handled by sxhkd) hc keybind $Mod-Shift-q quit hc keybind $Mod-Shift-r reload hc keybind Mod1-w close -hc keybind $Mod-Return spawn "${TERMINAL:-konsole}" - -# splitting frames -# create an empty frame at the specified direction -hc keybind $Mod-a split bottom 0.5 -hc keybind $Mod-s split right 0.5 -# let the current frame explode into subframes -# hc keybind $Mod-f split explode +hc keybind $Mod-Return spawn st # for resizing frames and floating clients -resizestep=0.02 +resizestep=0.01 # tags -tag_names=( {1..9} 0 ) +# if I don't add the period to the last tag, it messes up lemonbar +tag_names=( 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二, 十三. ) tag_keys=( {1..9} 0 ) hc rename default "${tag_names[0]}" || true @@ -42,12 +36,10 @@ for i in "${!tag_names[@]}" ; do fi done -# layouting -hc keybind $Mod-d remove -# The following cycles through the available layouts within a frame, but skips -# layouts, if the layout change wouldn't affect the actual window positions. -# I.e. if there are two windows within a frame, the grid layout is skipped. -hc keybind Mod1-space \ +# cycle through layouts while +# ignoring the layouts which won't +# make a difference +hc keybind Mod4-space \ or , and . compare tags.focus.curframe_wcount = 2 \ . cycle_layout +1 vertical horizontal max vertical grid \ , cycle_layout +1 @@ -121,10 +113,5 @@ hc unlock # or simply: # hc detect_monitors -# find the panel -panel=~/.config/scripts/launch-lemonbar -[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh -for monitor in $(hc list_monitors | cut -d: -f1) ; do - # start it on each monitor - "$panel" "$monitor" & -done +# launch the panel +./bar/launch |