From 70318908fceb255f1d45f33ada82006e2980b52f Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Sat, 24 Feb 2024 13:43:07 -0600 Subject: fix(i3status): add kdeconnect --- i3status/.config/i3status-rust/config.toml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'i3status') diff --git a/i3status/.config/i3status-rust/config.toml b/i3status/.config/i3status-rust/config.toml index 65e57e2..59dfd6e 100644 --- a/i3status/.config/i3status-rust/config.toml +++ b/i3status/.config/i3status-rust/config.toml @@ -62,8 +62,14 @@ interval = 60 [[block]] block = "music" -format = "{ $icon $title.str(max_w:10,rot_interval:0.5) $prev $play $next |}" -format_alt = " $icon {$combo.str(max_w:30,rot_interval:0.5) $prev $play $next |}" +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 = "up" +action = "volume_up" +[[block.click]] +button = "down" +action = "volume_down" [[block]] block = "sound" @@ -112,6 +118,12 @@ 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]] block = "notify" format = " $icon {($notification_count.eng(w:1)) |}" -- cgit v1.2.3-70-g09d2