Compare commits
2 Commits
4e787f8fa5
...
188b93668c
| Author | SHA1 | Date | |
|---|---|---|---|
| 188b93668c | |||
| 40ca67ebbb |
@@ -1,4 +1,4 @@
|
||||
icons_format = "{icon}"
|
||||
icons_format = " {icon} "
|
||||
|
||||
[icons]
|
||||
icons = "awesome"
|
||||
@@ -24,7 +24,12 @@ format = " $icon $combo $prev $play $next "
|
||||
block = "sound"
|
||||
driver = "pulseaudio"
|
||||
max_vol = 100
|
||||
format = " $icon {$volume.eng(2) |}"
|
||||
format = " $icon{ $volume.eng(2)|} "
|
||||
|
||||
[[block.click]]
|
||||
button = "left"
|
||||
cmd = "pactl set-sink-mute '@DEFAULT_SINK@' toggle"
|
||||
update = true
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
@@ -33,9 +38,14 @@ device_kind = "source"
|
||||
format = " $icon "
|
||||
reverse_levels = true
|
||||
|
||||
[[block.click]]
|
||||
button = "left"
|
||||
cmd = "pactl set-source-mute '@DEFAULT_SOURCE@' toggle"
|
||||
update = true
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
format = " $signal_strength $ssid "
|
||||
format = " $icon{ $signal_strength|}{ $ssid | }"
|
||||
|
||||
[[block]]
|
||||
block = "load"
|
||||
@@ -53,14 +63,14 @@ if_command = "test -e /sys/class/power_supply/BAT0"
|
||||
|
||||
[[block]]
|
||||
block = "toggle"
|
||||
format = " $icon "
|
||||
format = " $icon "
|
||||
command_on = "$HOME/.i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs"
|
||||
command_off = "$HOME/.i3/scripts/presentation-mode toggle ; pkill -SIGRTMIN+0 i3status-rs"
|
||||
command_state = "[[ $($HOME/.i3/scripts/presentation-mode status) == on ]] && echo active"
|
||||
|
||||
[[block]]
|
||||
block = "toggle"
|
||||
format = " $icon "
|
||||
format = " $icon "
|
||||
command_on = "systemctl --user start redshift"
|
||||
command_off = "systemctl --user stop redshift"
|
||||
command_state = "[[ $(systemctl --user is-active redshift) == active ]] && echo active"
|
||||
@@ -68,7 +78,7 @@ signal = 0
|
||||
|
||||
[[block]]
|
||||
block = "toggle"
|
||||
format = " $icon "
|
||||
format = " $icon "
|
||||
command_on = "systemctl --user start spotify"
|
||||
command_off = "systemctl --user stop spotify"
|
||||
command_state = "[[ $(systemctl --user is-active spotify) == active ]] && echo active"
|
||||
|
||||
Reference in New Issue
Block a user