Add xfce4-power-manager-settings as an action for polybar's battery module

This commit is contained in:
natemaia 2018-08-14 22:40:55 -07:00
parent 14c8d3a40b
commit fee0d19036
2 changed files with 9 additions and 3 deletions

View File

@ -267,3 +267,5 @@ assign [class="(?i)(?:thunar)"] → $WS3
# focus, floating, & sticky
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
exec i3-msg workspace $WS1

View File

@ -280,9 +280,13 @@ full-at = 99
poll-interval = 5
time-format = %H:%M
format-charging = "<animation-charging> <label-charging> "
format-discharging = "<ramp-capacity> <label-discharging> "
format-full = "<ramp-capacity> <label-full> "
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
label-charging = %{A1:xfce4-power-manager-settings & disown:}%percentage%% %{A}
label-discharging = %{A1:xfce4-power-manager-settings & disown:}%percentage%% %{A}
label-full = %{A1:xfce4-power-manager-settings & disown:}%percentage%% %{A}
ramp-capacity-0 = 
ramp-capacity-1 = 