From dd6cfb63ad85d0164cbe4ac04f7aea9f6a842f02 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 28 May 2024 15:27:15 -0500 Subject: feat!: remove unused configs and cleanup paths --- i3status-rs/.config/i3status-rust/config.toml | 144 ++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 i3status-rs/.config/i3status-rust/config.toml (limited to 'i3status-rs/.config/i3status-rust') diff --git a/i3status-rs/.config/i3status-rust/config.toml b/i3status-rs/.config/i3status-rust/config.toml new file mode 100644 index 0000000..0298660 --- /dev/null +++ b/i3status-rs/.config/i3status-rust/config.toml @@ -0,0 +1,144 @@ +[theme] +theme = "native" + +[theme.overrides] +idle_bg = "#1d2021" +idle_fg = "#d5c4a1" +info_bg = "#8ec07c" +info_fg = "#1d2021" +good_bg = "#b8bb26" +good_fg = "#1d2021" +warning_bg = "#fabd2f" +warning_fg = "#1d2021" +critical_bg = "#fb4934" +critical_fg = "#1d2021" + +[icons] +icons = "material-nf" + +[icons.overrides] +rss = "󰑫" + +[[block]] +block = "focused_window" +[block.format] +full = " $title.str(max_w:30,rot_interval:0.5) |" +short = "" + +[[block]] +block = "weather" +autolocate = true +autolocate_interval = "once" +service.name = "metno" +format = " $icon $temp " +format_alt = " $icon $weather $temp " + +[[block]] +block = "disk_space" + +[[block]] +block = "memory" +format = " $icon $mem_used_percents.eng(w:2) " + +[[block]] +block = "cpu" + +[[block]] +block = "amd_gpu" +if_command = "lspci -v | grep 'AMD/ATI' >/dev/null" + +[[block]] +block = "custom" +command = "~/.local/lib/i3status-rust/i3status-miniflux" +json = true +[[block.click]] +button = "left" +cmd = "xdg-open https://miniflux.tobyvin.dev" + +[[block]] +block = "custom" +command = "~/.local/lib/i3status-rust/i3status-notmuch" +json = true +[[block.click]] +button = "left" +cmd = "alacritty -e aerc" + +[[block]] +block = "music" +format = "{ $icon $title.str(max_w:10,rot_interval:0.5) |}{$prev $play $next |}{$volume_icon $volume |}" +format_alt = "{ $icon $combo.str(max_w:30,rot_interval:0.5) |}{$prev $play $next |}{$volume_icon $volume |}" +[[block.click]] +button = "right" +cmd = "playerctl volume | (grep -q '0.000000' && playerctl volume 0.5 || playerctl volume 0.0)" +[[block.click]] +button = "up" +action = "volume_up" +[[block.click]] +button = "down" +action = "volume_down" + +[[block]] +block = "sound" +if_command = "pactl list >/dev/null || aplay -l >/dev/null " +[[block.click]] +button = "left" +cmd = "pgrep pavucontrol && killall pavucontrol || pavucontrol" + +[[block]] +block = "net" +device = "^wg0$" +format = " $icon " +format_alt = " $device {$ip |}" +missing_format = "" +merge_with_next = true + +[[block]] +block = "net" +device = "^wl.*$" +format = " $icon " +format_alt = " $device {$signal_strength $frequency $ssid |}{$ip |}" +missing_format = "" +merge_with_next = true + +[[block]] +block = "net" +device = "^en.*$" +format = " $icon " +format_alt = " $device {$ip |}" +missing_format = "" + +[[block]] +block = "battery" +device = "BAT1" +missing_format = "" +merge_with_next = true + +[[block]] +block = "battery" +device = "BAT2" +missing_format = "" + +[[block]] +block = "time" +interval = 1 +format.full = " $timestamp.datetime(f:'%a %m/%d %T') " +format.short = " $timestamp.datetime(f:%T) " + +[[block]] +block = "kdeconnect" +format = " $icon {$bat_icon |}{$network_icon |}{$notif_icon$notif_count |}" +missing_format = "" +disconnected_format = "" +[[block.click]] +button = "left" +cmd = "pgrep kdeconnect-sms && killall kdeconnect-sms || kdeconnect-sms" + +[[block]] +block = "notify" +format = " $icon {($notification_count.eng(w:1)) |}" +[[block.click]] +button = "left" +action = "show" +[[block.click]] +button = "right" +action = "toggle_paused" -- cgit v1.2.3-70-g09d2