diff options
Diffstat (limited to '')
-rw-r--r-- | .config/swayrbar/config.toml | 16 | ||||
-rwxr-xr-x | .config/swayrbar/scripts/brightness-status | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/.config/swayrbar/config.toml b/.config/swayrbar/config.toml index a0aa955..a80de0c 100644 --- a/.config/swayrbar/config.toml +++ b/.config/swayrbar/config.toml @@ -19,11 +19,11 @@ Right = [ [[modules]] name = "cmd" instance = "0" -format = "{HOME}/.config/swayrbar/scripts/idle-status" +format = "${HOME}/.config/swayrbar/scripts/idle-status" html_escape = false [modules.on_click] -Left = ["{HOME}/.config/swayrbar/scripts/idle-toggle"] +Left = ["${HOME}/.config/swayrbar/scripts/idle-toggle"] [[modules]] name = "sysinfo" @@ -44,15 +44,15 @@ format = "๐ {state_of_charge:{:5.1}}%, {state}" html_escape = false [[modules]] -name = "pactl" +name = "nmcli" instance = "0" -format = "๐{volume:{:3}}%{muted}" +format = "๓ฐคจ {name} {signal}" html_escape = true [[modules]] -name = "nmcli" +name = "pactl" instance = "0" -format = "๓ฐคจ {name} {signal}" +format = "๐{volume:{:3}}%{muted}" html_escape = true [modules.on_click] @@ -79,7 +79,7 @@ WheelUp = [ [[modules]] name = "cmd" instance = "1" -format = "{HOME}/.config/swayrbar/scripts/brightness-status" +format = "${HOME}/.config/swayrbar/scripts/brightness-status" html_escape = false [modules.on_click] @@ -97,7 +97,7 @@ WheelDown = [ [[modules]] name = "cmd" instance = "2" -format = "{HOME}/.config/swayrbar/scripts/temp-status" +format = "${HOME}/.config/swayrbar/scripts/temp-status" html_escape = false [[modules]] diff --git a/.config/swayrbar/scripts/brightness-status b/.config/swayrbar/scripts/brightness-status index db93076..4e03a9a 100755 --- a/.config/swayrbar/scripts/brightness-status +++ b/.config/swayrbar/scripts/brightness-status @@ -8,6 +8,6 @@ then level=$(echo "scale=2; $brightness / $brightness_max * 100" | bc) printf "๏ " - printf "%.0f\n" $level + printf "%.0f" $level fi |