diff --git a/.config/i3/config b/.config/i3/config index 0b97f9a..c1f5c48 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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 diff --git a/.config/i3/status-rs.toml b/.config/i3/status-rs.toml new file mode 100644 index 0000000..528482c --- /dev/null +++ b/.config/i3/status-rs.toml @@ -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" diff --git a/.config/i3/status-rs_sec.toml b/.config/i3/status-rs_sec.toml new file mode 100644 index 0000000..d57c39e --- /dev/null +++ b/.config/i3/status-rs_sec.toml @@ -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" diff --git a/.gitignore.d/i3 b/.gitignore.d/i3 index 4dce7a8..cb6f044 100644 --- a/.gitignore.d/i3 +++ b/.gitignore.d/i3 @@ -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