diff --git a/home/.config/i3/conf.d/i3bar.conf b/home/.config/i3/conf.d/i3bar.conf index 9ef8ca5..ae8a7fb 100644 --- a/home/.config/i3/conf.d/i3bar.conf +++ b/home/.config/i3/conf.d/i3bar.conf @@ -9,7 +9,8 @@ bar { font pango:FontAwesome6Free 11, SourceCodeProforPowerline 11 - status_command i3blocks -c $i3_path/i3blocks.conf + #status_command i3blocks -c $i3_path/i3blocks.conf + status_command i3status-rs $i3_path/i3status-rs.toml colors { background #161821 diff --git a/home/.config/i3/config b/home/.config/i3/config index f3acd02..f64c0f6 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -203,7 +203,8 @@ bar { font pango:FontAwesome6Free 11, SourceCodeProforPowerline 11 - status_command i3blocks -c $i3_path/i3blocks.conf + #status_command i3blocks -c $i3_path/i3blocks.conf + status_command i3status-rs $i3_path/i3status-rs.toml colors { background #161821 diff --git a/home/.config/i3/i3status-rs.toml b/home/.config/i3/i3status-rs.toml new file mode 100644 index 0000000..8497c0c --- /dev/null +++ b/home/.config/i3/i3status-rs.toml @@ -0,0 +1,69 @@ +[theme] +name = "nord-dark" + +[icons] +name = "awesome6" + +[[block]] +block = "focused_window" +max_width = 35 +format = "{title}" + +[[block]] +block = "cpu" +interval = 2 +format = "{utilization}" + +#[[block]] +#block = "load" +#format = "{1m}" +#interval = 15 + +[[block]] +block = "memory" +format_mem = "{mem_used}" +icons = true +interval = 5 + +[[block]] +block = "net" +interval = 2 +hide_missing = true +hide_inactive = true + +[[block]] +block = "temperature" +# TODO: Only if I have temp sensors + +#[[block]] +#block = "backlight" +# TODO: Only if I'm a laptop + +[[block]] +block = "pacman" +interval = 600 +format = "{both} updates available" +format_singular = "{both} update available" +critical_updates_regex = "(linux|linux-lts|linux-zen)" +aur_command = "yay -Qua" +hide_when_uptodate = true + +[[block]] +block = "battery" +interval = 15 +hide_missing = true +format = " {percentage} ({time})" +full_threshold = 99 +full_format = " " + +[[block]] +block = "sound" +format = "{volume}" +headphones_indicator = true + +[[block]] +block = "time" +format = "%h %d %R" +interval = 15 +on_click = "notify-send \"$(cal)\"" +