gruvboxify things - and a can of worms

This commit is contained in:
Thomas Ruoff
2018-10-25 21:10:13 +02:00
parent da1ac6550a
commit a15873ebb3
8 changed files with 19 additions and 21 deletions

View File

@@ -11,15 +11,20 @@ store_pid() {
echo $! >> $PIDS_FILE
}
cd $(dirname $0)
source ./gruvbox_colors.sh
OLD_PIDS=$(cat $PIDS_FILE)
kill $(echo $OLD_PIDS)
rm $PIDS_FILE
hc emit_hook reload
~/.config/herbstluftwm/bindings.sh
~/.config/herbstluftwm/rules.sh
~/.config/herbstluftwm/styling.sh
./wallpaper.sh
./bindings.sh
./rules.sh
./styling.sh
hc set tree_style '╾│ ├└╼─┐'
hc unlock
@@ -31,15 +36,15 @@ statusbar_height=20
for monitor in $(hc list_monitors | cut -d: -f1) ; do
# start it on each monitor
hc pad $monitor $panel_height 0 $statusbar_height 0
~/.config/herbstluftwm/panel.sh $monitor & store_pid
~/.config/herbstluftwm/statusbar.sh $monitor & store_pid
./panel.py $monitor & store_pid
./statusbar.sh $monitor & store_pid
done
~/.config/herbstluftwm/tray.sh & store_pid
./tray.sh & store_pid
udiskie --tray & store_pid
systemctl --user restart sxhkd
systemctl --user restart xautolock
systemd-run --user --on-active=30 ~/local/bin/battery-warning.sh
systemctl --user restart battery-warning.timer
wmname LG3D

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -e
hc() {
herbstclient "$@"

View File

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -e
hc() {
herbstclient "$@"
@@ -7,10 +6,12 @@ hc() {
# rules
hc unrule -F
#hc rule class=XTerm tag=3 # move all xterms to tag 3
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' focus=on
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env bash
source ./gruvbox_colors.sh
font="Fira Code:pixelsize=11"
font="Fira Code:pixelsize=16"
function uniq_linebuffered() {
awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@"
@@ -52,5 +51,5 @@ panelGeometry=${geometry[2]}x${statusbar_height}+${x}+${y}
| lemonbar \
-g $panelGeometry \
-f "$font" \
-B $GRUVBOX_DARK0 -F $GRUVBOX_LIGHT0 \
-B $GRUVBOX_DARK1 -F $GRUVBOX_LIGHT0 \
-u 2

View File

@@ -4,10 +4,6 @@ hc() {
herbstclient "$@"
}
source ./gruvbox_colors.sh
./wallpaper.sh
# frame/window styling
hc set frame_border_active_color "$GRUVBOX_DARK4"
hc set frame_border_normal_color "$GRUVBOX_DARK0"

View File

@@ -1,12 +1,10 @@
#!/usr/bin/env bash
source ./gruvbox_colors.sh
set $(herbstclient monitor_rect 0)
TRAY_GEOMETRY=5x1+$(($3 - 100))+0
stalonetray \
--background "$GRUVBOX_DARK0" \
--background "$GRUVBOX_DARK1" \
--geometry $TRAY_GEOMETRY \
--icon-size 20 \
--kludges force_icons_size \

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# xsetroot -solid '#eee8d5'
xsetroot -solid '$GRUVBOX_DARK0'
# random wallpaper
WALLPAPERDIR=$(dirname "$0")/wallpapers