Compare commits

...

4 commits

Author SHA1 Message Date
finga d72f192308 i3-status-rs: Update configuration to latest version 2022-09-06 16:12:52 +02:00
finga 54766df7a5 Remove unneeded units in i3status-rs
Remove units as it seems that they now come together with the values.
2021-11-03 12:34:34 +01:00
finga 54618abc52 Adapt i3-status-rs to work computer
The blocks for `sound` and `temperature` are disabled for now as no
sound framework is installed yet and the temperature kernel
communication is not working out of the box. Still both are kept for
eventual later use.
2021-11-02 10:59:19 +01:00
finga 1ca955eea8 Adapt screen names to work 2021-11-02 10:55:28 +01:00
3 changed files with 39 additions and 69 deletions

View file

@ -198,8 +198,8 @@ client.focused #000000 #009900 #ffffff #ff0000
client.unfocused #000000 #005500 #000000 #ff0000
# use variables for screens
set $screen0 "DP-1"
set $screen1 "HDMI-2"
set $screen0 "Virtual1"
set $screen1 "Virtual2"
# Start i3bar to display a workspace bar (plus the system information
# i3status-rust finds out, if available)

View file

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -10,85 +11,56 @@ separator = "|"
separator_fg = "#00cc00"
separator_bg = "#222222"
[[block]]
block = "maildir"
interval = 15
inboxes = ["/home/finga/mail/onders.org/Inbox"]
display_type = "new"
[[block]]
block = "weather"
format = "{weather} ({location}) {temp}°, {humidity}%, {wind}m/s {direction}"
format = "$weather $temp, $humidity, $wind m/s $direction"
service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
[[block]]
block = "music"
max_width = 42
marquee_interval = 0
marquee_speed = 0.3
buttons = ["prev", "play", "next"]
block = "net"
device = "enp0s3"
format = "$ip $graph_down $speed_down $graph_up $speed_up"
[[block]]
block = "net"
device = "enp0s31f6"
# format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}"
format = "{graph_down} {speed_down} {graph_up} {speed_up}"
# [[block]]
# block = "disk_space"
# path = "/"
# info_type = "used"
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/home"
# info_type = "used"
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/var"
# info_type = "used"
# warning = 20.0
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/tmp"
# info_type = "used"
# format = "{path} {percentage}"
block = "disk_space"
path = "/"
info_type = "available"
warning = 20
format = "$used/$total ($available free)"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_mem = "$mem_used/$mem_total ($mem_used_percents.eng(3))"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{SUp}%"
format_swap = "$swap_used/$swap_total ($swap_used_percents.eng(3))"
clickable = false
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization}% {frequency}GHz"
format = "$barchart $utilization $frequency.eng(4)"
[[block]]
block = "temperature"
collapsed = false
format = "{min}° min, {max}° max, {average}° avg"
chip = "*-isa-*"
# [[block]]
# block = "temperature"
# collapsed = false
# driver = "sysfs"
# format = "{min}° min, {max}° max, {average}° avg"
# chip = "*"
# inputs = ["CPUTIN", "SYSTIN"]
# chip = "*-isa-*"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]]
block = "sound"
#[[block]]
#block = "sound"
[[block]]
block = "time"

View file

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -16,34 +17,31 @@ block = "uptime"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_mem = "$mem_used/$mem_total ($mem_used_percents.eng(3))"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{SUp}%"
format_swap = "$swap_used/$swap_total ($swap_used_percents.eng(3))"
clickable = false
[[block]]
block = "cpu"
frequency = true
interval = 1
format = "$barchart $utilization $frequency.eng(4)"
[[block]]
block = "temperature"
collapsed = false
interval = 10
format = "{min}° min, {max}° max, {average}° avg"
chip = "*-isa-*"
# [[block]]
# block = "temperature"
# collapsed = false
# interval = 10
# format = "{min}° min, {max}° max, {average}° avg"
# chip = "*-isa-*"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
[[block]]
block = "sound"
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]]
block = "time"