i3 font, i3status

This commit is contained in:
TheK4n 2022-05-19 03:18:28 +03:00
parent 4c32c66cbb
commit 281c7d5691
2 changed files with 21 additions and 5 deletions

View File

@ -22,7 +22,7 @@ exec --no-startup-id xset dpms 0 0 0
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font FiraCode:monospace 10
font xft:Sans,FontAwesome 11
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).

View File

@ -16,8 +16,10 @@ order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "disk /"
order += "load"
order += "disk /home"
order += "memory"
order += "cpu_usage"
order += "cpu_temperature 0"
order += "tztime local"
wireless _first_ {
@ -26,7 +28,7 @@ wireless _first_ {
}
ethernet _first_ {
format_up = " %ip (%speed)"
format_up = " %ip"
format_down = " down"
}
@ -35,7 +37,11 @@ battery all {
}
disk "/" {
format = " %avail"
format = " %used/%total"
}
disk "/home" {
format = " %used/%total"
}
load {
@ -43,11 +49,21 @@ load {
}
memory {
format = "%used | %available"
format = "%used/%available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
cpu_usage {
format = " %usage"
}
cpu_temperature 0 {
format = " %degrees"
max_threshold = "80"
path = "/sys/class/thermal/thermal_zone0/temp"
}
tztime local {
format = " %Y-%m-%d  %H:%M:%S"
}