From 2e2422481cc6827e7991ac12ce43f49fde5798f3 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 16:40:13 +0200 Subject: .config/herbstluftwm/autostart --- .config/herbstluftwm/autostart | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 30bc833..ba94b69 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -42,6 +42,8 @@ hc rule class=Xephyr pseudotile=on # Panel ~/.config/herbstluftwm/panel.sh & +# Prep default + # Local Variables: # eval: (git-auto-commit-mode 1) # End: -- cgit v1.2.3-54-g00ecf From eebebe3686593808665eec4d7bfb8de5739b50f8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 16:47:37 +0200 Subject: .config/herbstluftwm/autostart --- .config/herbstluftwm/autostart | 1 + 1 file changed, 1 insertion(+) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index ba94b69..a3dd9b8 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -43,6 +43,7 @@ hc rule class=Xephyr pseudotile=on ~/.config/herbstluftwm/panel.sh & # Prep default +hc load "(split horizontal:0.550000:0 (split vertical:0.850000:0 (split horizontal:0.180000:1 (clients max:0) (clients max:0 0x140001a)) (clients max:0)) (clients max:0 0xc00077))" # Local Variables: # eval: (git-auto-commit-mode 1) -- cgit v1.2.3-54-g00ecf From 3431b2ecea1f94af0e77d0a6ecd8d28b02d9ccae Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 16:59:18 +0200 Subject: .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 0946e3d..2c93a4a 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -122,27 +122,26 @@ herbstclient pad $monitor2 -5 -5 -5 -5 } 2> /dev/null | { TAGS=( $(herbstclient tag_status $monitor) ) TAGS2=( $(herbstclient tag_status $monitor2) ) - while true ; do - separator="^fg($bgcolor)^ro(1x$height)^fg()" - print_tags - print_services - print_mailboxes - echo + separator="^fg($bgcolor)^ro(1x$height)^fg()" + print_tags + print_services + print_mailboxes + + echo # wait for next event - read line || break - cmd=( $line ) + read line || break + cmd=( $line ) # find out event origin - case "${cmd[0]}" in - tag*) - TAGS=( $(herbstclient tag_status $monitor) ) - TAGS2=( $(herbstclient tag_status $monitor2) ) - ;; - quit_panel) - exit - ;; - esac - done + case "${cmd[0]}" in + tag*) + TAGS=( $(herbstclient tag_status $monitor) ) + TAGS2=( $(herbstclient tag_status $monitor2) ) + ;; + quit_panel) + exit + ;; + esac } 2> /dev/null | dzen2 -w $width -x $x -y $y -fn "$font" -h $height \ -ta l -bg "$bgcolor" -- cgit v1.2.3-54-g00ecf From 701ef480aad95908c129f9184384ecd3c33e0ed3 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 17:01:05 +0200 Subject: .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 2c93a4a..b3498bd 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -142,6 +142,8 @@ herbstclient pad $monitor2 -5 -5 -5 -5 exit ;; esac + + sleep 3 } 2> /dev/null | dzen2 -w $width -x $x -y $y -fn "$font" -h $height \ -ta l -bg "$bgcolor" -- cgit v1.2.3-54-g00ecf From eca300b055107b60366a26bbb482dc61f616a7c3 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 17:02:11 +0200 Subject: .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index b3498bd..2ec9eae 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -143,7 +143,7 @@ herbstclient pad $monitor2 -5 -5 -5 -5 ;; esac - sleep 3 + sleep 1 } 2> /dev/null | dzen2 -w $width -x $x -y $y -fn "$font" -h $height \ -ta l -bg "$bgcolor" -- cgit v1.2.3-54-g00ecf From 66181fb6534846c0396809fe0181c5ece97f07b1 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 17:04:44 +0200 Subject: .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 2ec9eae..48c1600 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -143,7 +143,7 @@ herbstclient pad $monitor2 -5 -5 -5 -5 ;; esac - sleep 1 + sleep 1s } 2> /dev/null | dzen2 -w $width -x $x -y $y -fn "$font" -h $height \ -ta l -bg "$bgcolor" -- cgit v1.2.3-54-g00ecf From a528d7fef80fef577fe481b98c9d68003a10040c Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 17:33:09 +0200 Subject: .config/herbstluftwm/panel.sh --- .config/herbstluftwm/panel.sh | 2 -- 1 file changed, 2 deletions(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 48c1600..22b46ae 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -113,8 +113,6 @@ function emacs_running() ps ax | awk '{ print $5 " " $6 }' | grep -E "^emacs --daemon" } -herbstclient pad $monitor $(expr -5 + $height) -5 -5 -5 -herbstclient pad $monitor2 -5 -5 -5 -5 { childpid=$! herbstclient --idle -- cgit v1.2.3-54-g00ecf From 0a91f5e359c70e04cda90507819bdbf69949e952 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 21 Apr 2012 17:37:42 +0200 Subject: .config/herbstluftwm/autostart --- .config/herbstluftwm/autostart | 3 +++ 1 file changed, 3 insertions(+) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index a3dd9b8..50f6164 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -24,6 +24,9 @@ hc remove_monitor 1 hc move_monitor 0 1920x1080+0+0 hc add_monitor 1680x1050+1920+0 default2 +hc pad 0 -5 -5 -5 -5 +hc pad 1 -5 -5 -5 -5 + # Keys #hc keybind $modkey-t spawn ~/bin/hlwm/capture-todo #hc keybind $modkey-Shift-t spawn ~/bin/hlwm/show-todo -- cgit v1.2.3-54-g00ecf From e8b0fa5f60460b32cc843a4a69ce5d4526fb2009 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 22 Apr 2012 01:49:01 +0200 Subject: .config/herbstluftwm/autostart --- .config/herbstluftwm/autostart | 1 + 1 file changed, 1 insertion(+) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 50f6164..7cd3bef 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -41,6 +41,7 @@ hc unrule -F hc rule focus=on hc rule windowtype=_NET_WM_WINDOW_TYPE_DIALOG focus=on pseudotile=on hc rule class=Xephyr pseudotile=on +hc rule instance=Xine\ Window pseudotile=on # Panel ~/.config/herbstluftwm/panel.sh & -- cgit v1.2.3-54-g00ecf From 748c761a35e3f10cd9e97a7ca30d57b2af89cf25 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 22 Apr 2012 01:57:08 +0200 Subject: .config/herbstluftwm/autostart --- .config/herbstluftwm/autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index 7cd3bef..f8a3476 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -47,7 +47,7 @@ hc rule instance=Xine\ Window pseudotile=on ~/.config/herbstluftwm/panel.sh & # Prep default -hc load "(split horizontal:0.550000:0 (split vertical:0.850000:0 (split horizontal:0.180000:1 (clients max:0) (clients max:0 0x140001a)) (clients max:0)) (clients max:0 0xc00077))" +hc load default "(split horizontal:0.550000:0 (split vertical:0.850000:0 (split horizontal:0.180000:1 (clients max:0) (clients max:0 0x140001a)) (clients max:0)) (clients max:0 0xc00077))" # Local Variables: # eval: (git-auto-commit-mode 1) -- cgit v1.2.3-54-g00ecf