From 17a46ab5d07b5e804299a6b360b85ac114b18e48 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 8 Oct 2016 23:09:13 +0200 Subject: [PATCH] Update herbstluftwm style --- herbstluftwm/.config/herbstluftwm/autostart | 65 ++++++++++++--------- 1 file changed, 37 insertions(+), 28 deletions(-) diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index 5b17d02..f102d0e 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -174,42 +174,37 @@ done # theme hc attr theme.tiling.reset 1 hc attr theme.floating.reset 1 -hc set frame_border_active_color '#222222' -hc set frame_border_normal_color '#101010' -hc set frame_bg_normal_color '#565656' -hc set frame_bg_active_color '#345F0C' -hc set frame_border_width 1 -hc set always_show_frame 1 +hc set frame_border_active_color '#3d3d3d' +hc set frame_border_normal_color '#222222' +hc set frame_bg_normal_color '#111111' +hc set frame_bg_active_color '#263f1f' +hc set frame_border_width 0 +hc set window_border_width 2 +hc set window_border_inner_width 0 +hc set window_border_normal_color '#222222' +hc set window_border_active_color '#3d3d3d' +hc set window_border_inner_color '#111111' +hc set always_show_frame 0 +hc set frame_gap 30 +# Add overlapping window borders +hc set window_gap 30 +hc set frame_padding -30 hc set frame_bg_transparent 1 -hc set frame_transparent_width 5 -hc set frame_gap 4 -hc attr theme.active.color '#9fbc00' -hc attr theme.normal.color '#454545' -hc attr theme.urgent.color orange -hc attr theme.inner_width 1 -hc attr theme.inner_color black -hc attr theme.border_width 3 -hc attr theme.floating.border_width 4 -hc attr theme.floating.outer_width 1 -hc attr theme.floating.outer_color black -hc attr theme.active.inner_color '#3E4A00' -hc attr theme.active.outer_color '#3E4A00' -hc attr theme.background_color '#141414' - -hc set window_gap 0 -hc set frame_padding 0 hc set smart_window_surroundings 0 -hc set smart_frame_surroundings 1 +hc set smart_frame_surroundings 0 hc set mouse_recenter_gap 0 +hc set swap_monitors_to_get_tag 0 +hc set update_dragged_clients 1 # rules hc unrule -F -#hc rule class=XTerm tag=3 # move all xterms to tag 3 hc rule focus=on # normally focus new clients -#hc rule focus=off # normally do not focus new clients -# give focus to most common terminals -#hc rule class~'(.*[Rr]xvt.*|.*[Tt]erm|Konsole)' focus=on +hc rule class=Emacs tag=dev index=0 switchtag=on hook=emacs +hc rule class=URxvt tag=dev index=1 switchtag=on hook=urxvt +hc rule class~'Conkeror|Firefox' tag=web index=0 +hc rule class=Pinentry pseudotile=on +hc rule class=Alsaplayer pseudotile=on hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off @@ -223,6 +218,20 @@ herbstclient set tree_style '╾│ ├└╼─┐' # I have two monitors, each with a resolution of 1920x1080. hc set_monitors 1920x1080+0+0 1920x1080+1920+0 +# Pad the first monitor to make room for mowedline and trayer. +hc pad 0 0 0 16 16 + +# Load layouts for the dev and web tags. +hc load dev '(split horizontal:0.535:1 (clients max:0) (clients vertical:0))' +hc load web '(clients max:0)' + +# Make sure the "Emacs" frame is selected. +hc focus_edge left + +# Lock each tag to its specific monitor. +lock_tag_to_monitor dev 0 +lock_tag_to_monitor web 1 + ## Other configurations # Load any other configuration files in