From c1e6af8b3837447168f7a72e0d30e68e871cc09d Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 3 Dec 2014 19:41:37 +0100 Subject: More cleanup done and added HLWM rules --- bash/.bashrc | 11 +++++++++++ herbstluftwm/.config/herbstluftwm/autostart | 13 +++++++------ herbstluftwm/.config/herbstluftwm/theme.sh | 4 ++-- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 93a955b..4513c25 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -15,6 +15,17 @@ pacaur() { env pacman_program="pacaur" /usr/bin/pacmatic "$@" } +man() { + env LESS_TERMCAP_mb=$'\E[01;31m' \ + LESS_TERMCAP_md=$'\E[01;38;5;74m' \ + LESS_TERMCAP_me=$'\E[0m' \ + LESS_TERMCAP_se=$'\E[0m' \ + LESS_TERMCAP_so=$'\E[38;5;246m' \ + LESS_TERMCAP_ue=$'\E[0m' \ + LESS_TERMCAP_us=$'\E[04;38;5;146m' \ + man "$@" +} + #PS1='[\u@\h \W]\$ ' PS1='[\d][\t]\u on \h\n\w => ' diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index c93ff15..78e9af8 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -146,15 +146,17 @@ hc set mouse_recenter_gap 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 windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' 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 +hc rule --class~'(.*[Ss]team.*)' --tag=IX --focus=off +hc rule --class~'(.*[Hh]exchat.*)' --tag=X --focus=off +hc rule --class~'(.*[Ss]potify.*)' --tag=X --focus=off +hc rule --class~'(.*[Ss]kype.*)' --tag=VIII --focus=off + # unlock, just to be sure hc unlock @@ -186,5 +188,4 @@ $dir/start.sh "compton --config $HOME/.compton" $dir/start.sh "xrdb -load $HOME/.Xresources" $dir/start.sh "xset +fp /usr/share/fonts/local" $dir/start.sh "xset fp rehash" -$dir/start.sh "dropboxd" #$dir/start.sh "$dir/notify.sh $dir/popup.sh" diff --git a/herbstluftwm/.config/herbstluftwm/theme.sh b/herbstluftwm/.config/herbstluftwm/theme.sh index bcbc6f7..cfc5536 100644 --- a/herbstluftwm/.config/herbstluftwm/theme.sh +++ b/herbstluftwm/.config/herbstluftwm/theme.sh @@ -12,7 +12,7 @@ add_alpha_channel(){ } # Wallpaper -wallpaper="/home/tom/Pictures/fall1.jpg" +wallpaper="/home/tom/Pictures/ice.jpg" # Padding window_p=20 @@ -24,7 +24,7 @@ font_sec="-*-stlarch-medium-*-*-*-10-*-*-*-*-*-*-*" # Colors color_fg=$(get_x_color 15) -color_accent=$(get_x_color 9) +color_accent=$(get_x_color 12) color_bg=$(get_x_color 0) # Alpha Colors for use with bar -- cgit v1.2.3