aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2024-10-20 12:35:18 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-10-20 12:35:18 +0000
commit5d7eba21c0a61c14de54b1cef6953a7f41319bf4 (patch)
tree3b0e3f38b3f1de2d0dff6bf9f257e4eb57a1b716 /.config
parent257aab6f3228ff372a6703880b313d539037465d (diff)
downloaddotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.tar
dotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.tar.gz
dotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.tar.bz2
dotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.tar.lz
dotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.tar.xz
dotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.tar.zst
dotfiles-5d7eba21c0a61c14de54b1cef6953a7f41319bf4.zip
swayrbar: fix config
Diffstat (limited to '.config')
-rw-r--r--.config/swayrbar/config.toml16
-rwxr-xr-x.config/swayrbar/scripts/brightness-status2
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