From c45d183a4f2d0d0379932cd288d248611d74d6fc Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Thu, 9 Jul 2020 20:39:30 +0200 Subject: [PATCH] i3status-rs --- dot_config/i3/config | 13 ++++++++++++- dot_config/i3/status.toml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 dot_config/i3/status.toml diff --git a/dot_config/i3/config b/dot_config/i3/config index e468bd9..2324e10 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -201,5 +201,16 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3status + font pango:DejaVu Sans Mono, FontAwesome 10 + position bottom + status_command /usr/bin/i3status-rs /home/main/.config/i3/status.toml + colors { + separator #666666 + background #222222 + statusline #dddddd + focused_workspace #555555 #555555 #ffffff + active_workspace #222222 #222222 #ffffff + inactive_workspace #222222 #222222 #888888 + urgent_workspace #2f343a #900000 #ffffff + } } diff --git a/dot_config/i3/status.toml b/dot_config/i3/status.toml new file mode 100644 index 0000000..b3b1094 --- /dev/null +++ b/dot_config/i3/status.toml @@ -0,0 +1,36 @@ +theme = "space-villain" +icons = "awesome5" + +[[block]] +block = "battery" +interval = 30 +format = "{percentage}% {time} {power}W" + +[[block]] +block = "networkmanager" +on_click = "nm-connection-editor" + +[[block]] +block = "memory" +display_type = "memory" +format_mem = "{Mup}%" +format_swap = "{SUp}%" + +[[block]] +block = "nvidia_gpu" +label = "GTX 1050" +show_memory = true +show_clocks = true +interval = 1 + +[[block]] +block = "cpu" +interval = 1 + +[[block]] +block = "sound" + +[[block]] +block = "time" +interval = 60 +format = "%a %d/%m %R"