AutoYADM commit: 2024-12-10 18:15:01
This commit is contained in:
parent
8cff8cbc62
commit
d2af5cfc3a
3 changed files with 15 additions and 12 deletions
|
@ -498,8 +498,8 @@ set $warn #f79000
|
||||||
# set $complement #259797
|
# set $complement #259797
|
||||||
|
|
||||||
# class border backgr. text indicator child_border
|
# class border backgr. text indicator child_border
|
||||||
client.focused $bg2 $bg2 $fg $bg2 $bg2
|
client.focused $bg $bg $fg $bg $bg
|
||||||
client.focused_inactive $bg $bg $fg $bg $bg
|
client.focused_inactive $bg2 $bg2 $fg $bg2 $bg2
|
||||||
client.unfocused $bg $bg $fg $bg $bg
|
client.unfocused $bg $bg $fg $bg $bg
|
||||||
client.urgent $warn $warn $fg $warn $warn
|
client.urgent $warn $warn $fg $warn $warn
|
||||||
client.placeholder $bg $bg $fg $bg $bg
|
client.placeholder $bg $bg $fg $bg $bg
|
||||||
|
@ -514,7 +514,8 @@ client.background $bg
|
||||||
# Start i3bar to display a workspace bar
|
# Start i3bar to display a workspace bar
|
||||||
# (plus the system information i3status finds out, if available)
|
# (plus the system information i3status finds out, if available)
|
||||||
bar {
|
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
|
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
||||||
position bottom
|
position bottom
|
||||||
# i3bar_command i3bar --transparency
|
# i3bar_command i3bar --transparency
|
||||||
|
|
|
@ -81,14 +81,15 @@ label=
|
||||||
instance=/
|
instance=/
|
||||||
command=~/.config/i3/scripts/disk
|
command=~/.config/i3/scripts/disk
|
||||||
interval=30
|
interval=30
|
||||||
|
align=center
|
||||||
|
|
||||||
# Memory usage
|
# Memory usage
|
||||||
#
|
#
|
||||||
# The type defaults to "mem" if the instance is not specified.
|
# The type defaults to "mem" if the instance is not specified.
|
||||||
[memory]
|
# [memory]
|
||||||
label=
|
# label=
|
||||||
command=~/.config/i3/scripts/memory
|
# command=~/.config/i3/scripts/memory
|
||||||
interval=2
|
# interval=2
|
||||||
|
|
||||||
[cpu_usage]
|
[cpu_usage]
|
||||||
label=
|
label=
|
||||||
|
@ -100,9 +101,9 @@ interval=2
|
||||||
label=
|
label=
|
||||||
command=~/.config/i3/scripts/temperature
|
command=~/.config/i3/scripts/temperature
|
||||||
interval=30
|
interval=30
|
||||||
#T_WARN=70
|
T_WARN=70
|
||||||
#T_CRIT=90
|
T_CRIT=90
|
||||||
#SENSOR_CHIP=""
|
# SENSOR_CHIP=""
|
||||||
# where SENSOR_CHIP can be find with sensors output
|
# where SENSOR_CHIP can be find with sensors output
|
||||||
# can be used also for GPU temperature or other temperature sensors lm-sensors detects.
|
# can be used also for GPU temperature or other temperature sensors lm-sensors detects.
|
||||||
|
|
||||||
|
@ -133,6 +134,7 @@ interval=30
|
||||||
# command=pavucontrol
|
# command=pavucontrol
|
||||||
|
|
||||||
[volume-pulseaudio]
|
[volume-pulseaudio]
|
||||||
|
full_text=
|
||||||
command=~/.config/i3/scripts/volume
|
command=~/.config/i3/scripts/volume
|
||||||
instance=Master
|
instance=Master
|
||||||
interval=1
|
interval=1
|
||||||
|
|
|
@ -21,7 +21,7 @@ ALERT_LOW="${ALERT_LOW:-10}" # color will turn red under this value (default: 10
|
||||||
|
|
||||||
LOCAL_FLAG="-l"
|
LOCAL_FLAG="-l"
|
||||||
if [ "$1" = "-n" ] || [ "$2" = "-n" ]; then
|
if [ "$1" = "-n" ] || [ "$2" = "-n" ]; then
|
||||||
LOCAL_FLAG=""
|
LOCAL_FLAG=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW '
|
df -h -P $LOCAL_FLAG "$DIR" | awk -v label="$LABEL" -v alert_low=$ALERT_LOW '
|
||||||
|
@ -42,7 +42,7 @@ END {
|
||||||
gsub(/%$/,"",use)
|
gsub(/%$/,"",use)
|
||||||
if (100 - use < alert_low) {
|
if (100 - use < alert_low) {
|
||||||
# color
|
# color
|
||||||
print "#FF0000"
|
print "#933737"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue