Skip to content

Instantly share code, notes, and snippets.

@mksglu
Last active November 12, 2017 18:03
Show Gist options
  • Save mksglu/32dc5cfdd0188978a335e032bb30b1b3 to your computer and use it in GitHub Desktop.
Save mksglu/32dc5cfdd0188978a335e032bb30b1b3 to your computer and use it in GitHub Desktop.
Linux I3WM dizin/pencere yöneticisinde sıcaklık değerlerini gösterelim.
# /etc/i3status.conf
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
color_good = "#2AA198"
color_bad = "#586E75"
color_degraded = "#DC322F"
}
order += "cpu_temperature 1"
order += "cpu_temperature 2"
order += "cpu_usage"
order += "disk /"
order += "wireless _first_"
order += "battery all"
order += "tztime local"
cpu_temperature 1 {
format = "T1: %degrees °C"
path = "/sys/class/hwmon/hwmon2/temp1_input"
}
cpu_temperature 2 {
format = "T2: %degrees °C"
path = "/sys/class/hwmon/hwmon3/temp1_input"
}
cpu_usage {
format = " CPU %usage "
}
load {
format = " load %1min "
# max_threshold = 0.3
}
disk "/" {
# format = " hdd %avail "
format = " ⛁ %avail "
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = " lan: %ip %speed "
format_down = " no lan "
}
battery all {
# format = "%status %percentage %remaining %emptytime"
format = " %status %percentage"
format_down = "No battery"
last_full_capacity = true
integer_battery_capacity = true
status_chr = "⚡"
status_bat = "☉"
status_full = "☻"
low_threshold = 15
threshold_type = time
}
tztime local {
format = "%A, %d.%m.%Y %R"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment