use i3status-rust

This commit is contained in:
finga 2020-01-11 17:23:05 +01:00
parent 174f55cd1b
commit af3383ac1f
4 changed files with 147 additions and 6 deletions

View file

@ -166,12 +166,31 @@ client.unfocused #000000 #005500 #000000 #ff0000
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status --config ~/.config/i3status/config
status_command i3status-rs ~/.config/i3/status-rs.toml
font pango:DejaVu Sans Mono, forkawesome 8
position top
tray_output primary
workspace_buttons yes
mode dock
modifier $mod
output DP-1
colors {
statusline #00ff00
focused_workspace #00cc00 #00ff00 #000000
inactive_workspace #00cc00 #008b00 #cccccc
#client.orientation #ff0000
}
}
bar {
status_command i3status-rs ~/.config/i3/status-rs_sec.toml
font pango:DejaVu Sans Mono, forkawesome 8
position top
tray_output primary
workspace_buttons yes
mode dock
modifier $mod
output HDMI-2
colors {
statusline #00ff00

69
.config/i3/status-rs.toml Normal file
View file

@ -0,0 +1,69 @@
icons = "awesome"
[theme]
name = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
idle_bg = "#222222"
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/finga/mail/onders.org/Inbox"]
threshold_warning = 1
threshold_critical = 10
display_type = "new"
[[block]]
block = "net"
device = "enp0s31f6"
ip = true
graph_up = true
graph_down = true
interval = 5
hide_inactive = false
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{SUp}%"
clickable = false
[[block]]
block = "cpu"
frequency = true
interval = 1
[[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"
[[block]]
block = "time"
interval = 1
format = "%Y-%m-%d %a (%Z) %H:%M:%S"
timezone = "Europe/Vienna"
[[block]]
block = "time"
interval = 1
format = "(%Z) %H:%M:%S"
timezone = "Etc/UTC"

View file

@ -0,0 +1,52 @@
icons = "awesome"
[theme]
name = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
idle_bg = "#222222"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{SUp}%"
clickable = false
[[block]]
block = "cpu"
frequency = true
interval = 1
[[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"
[[block]]
block = "time"
interval = 1
format = "%Y-%m-%d %a (%Z) %H:%M:%S"
timezone = "Europe/Vienna"
[[block]]
block = "time"
interval = 1
format = "(%Z) %H:%M:%S"
timezone = "Etc/UTC"

View file

@ -1,11 +1,12 @@
*
!/bin
!/bin/fuzzy-i3lock
!/bin/i3-run
!/.config
!/.config/i3
!/.config/i3/config
!/.config/i3/*
!/.config/i3status
!/.config/i3status/config
!/.config/i3status/*
!/.gitignore.d
!/.gitignore.d/i3
!/.local
!/.local/bin
!/.local/bin/fuzzy-i3lock
!/.local/bin/i3-run