diff --git a/.config/i3/config##hostname.dbox b/.config/i3/config##hostname.dbox index 2d0427f1..5a960092 100644 --- a/.config/i3/config##hostname.dbox +++ b/.config/i3/config##hostname.dbox @@ -498,8 +498,8 @@ set $warn #f79000 # set $complement #259797 # class border backgr. text indicator child_border -client.focused $bg2 $bg2 $fg $bg2 $bg2 -client.focused_inactive $bg $bg $fg $bg $bg +client.focused $bg $bg $fg $bg $bg +client.focused_inactive $bg2 $bg2 $fg $bg2 $bg2 client.unfocused $bg $bg $fg $bg $bg client.urgent $warn $warn $fg $warn $warn client.placeholder $bg $bg $fg $bg $bg @@ -514,7 +514,8 @@ client.background $bg # Start i3bar to display a workspace bar # (plus the system information i3status finds out, if available) bar { - font pango: Noto Sans Regular 10 + # font pango: Noto Sans Regular 10 + font pango: SauceCodePro Nerd Font Mono 11 status_command i3blocks -c ~/.config/i3/i3blocks.conf position bottom # i3bar_command i3bar --transparency diff --git a/.config/i3/i3blocks.conf b/.config/i3/i3blocks.conf index 28595b5a..a45e43dd 100644 --- a/.config/i3/i3blocks.conf +++ b/.config/i3/i3blocks.conf @@ -81,14 +81,15 @@ label= instance=/ command=~/.config/i3/scripts/disk interval=30 +align=center # Memory usage # # The type defaults to "mem" if the instance is not specified. -[memory] -label= -command=~/.config/i3/scripts/memory -interval=2 +# [memory] +# label= +# command=~/.config/i3/scripts/memory +# interval=2 [cpu_usage] label= @@ -100,9 +101,9 @@ interval=2 label= command=~/.config/i3/scripts/temperature interval=30 -#T_WARN=70 -#T_CRIT=90 -#SENSOR_CHIP="" +T_WARN=70 +T_CRIT=90 +# SENSOR_CHIP="" # where SENSOR_CHIP can be find with sensors output # can be used also for GPU temperature or other temperature sensors lm-sensors detects. @@ -133,6 +134,7 @@ interval=30 # command=pavucontrol [volume-pulseaudio] +full_text= command=~/.config/i3/scripts/volume instance=Master interval=1 diff --git a/.config/i3/scripts##hostname.dbox/disk b/.config/i3/scripts##hostname.dbox/disk index e18c7aad..6cd156e9 100755 --- a/.config/i3/scripts##hostname.dbox/disk +++ b/.config/i3/scripts##hostname.dbox/disk @@ -21,7 +21,7 @@ ALERT_LOW="${ALERT_LOW:-10}" # color will turn red under this value (default: 10 LOCAL_FLAG="-l" if [ "$1" = "-n" ] || [ "$2" = "-n" ]; then - LOCAL_FLAG="" + LOCAL_FLAG="" fi df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW ' @@ -42,7 +42,7 @@ END { gsub(/%$/,"",use) if (100 - use < alert_low) { # color - print "#FF0000" + print "#933737" } } '