dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 54aee7d07c6f64b7ccd43fd03c52ad3da03c92b8
parent 9da96a629ef0153bcb0675a51597ae101471ff22
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 25 Nov 2022 16:28:32 +0000

monitor layout, window tag rules, sweet left pad

Diffstat:
Mherbstluftwm/.config/herbstluftwm/autostart | 13+++++++++++++
Aherbstluftwm/layout-4 | 1+
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart @@ -95,12 +95,16 @@ hc rename default "${tag_names[0]}" || true for i in ${!tag_names[@]} ; do hc add "${tag_names[$i]}" key="${tag_keys[$i]}" + layoutfile=/home/pyratebeard/dot/herbstluftwm/layout-${key} if ! [ -z "$key" ] ; then hc keybind "$Mod-$key" \ chain , silent substitute M tags."$i".my_monitor \ focus_monitor M \ , use_index "$i" hc keybind "$Mod-Shift-$key" move_index "$i" + if [ -f ${layoutfile} ] ; then + hc load ${i} "$(cat ${layoutfile})" + fi fi done @@ -177,6 +181,7 @@ hc attr theme.floating.outer_color black hc attr theme.active.inner_color '#111' hc attr theme.active.outer_color '#131313' hc attr theme.background_color '#1e1b1c' +hc attr theme.padding_left 14 hc set window_gap 2 hc set frame_padding 0 @@ -200,6 +205,14 @@ hc unlock herbstclient set tree_style '╾│ ├└╼─┐' +hc rule class=qutebrowser tag=1 +hc rule class=firefox tag=1 +hc rule class=Chromium tag=3 +hc rule class=teams-for-linux tag=3 +hc rule class=Gimp floating=true +hc rule class="Tor Browser" floating=true +hc rule class=xfreerdp floating=true + # do multi monitor setup here, e.g.: # hc set_monitors 1280x1024+0+0 1280x1024+1280+0 # or simply: diff --git a/herbstluftwm/layout-4 b/herbstluftwm/layout-4 @@ -0,0 +1 @@ +(split vertical:0.73:0 (clients vertical:1 0x3600002) (clients vertical:0 0x2800003))