aboutsummaryrefslogtreecommitdiff
path: root/.config/swayrbar/config.toml
diff options
context:
space:
mode:
Diffstat (limited to '.config/swayrbar/config.toml')
-rw-r--r--.config/swayrbar/config.toml107
1 files changed, 107 insertions, 0 deletions
diff --git a/.config/swayrbar/config.toml b/.config/swayrbar/config.toml
new file mode 100644
index 0000000..a0aa955
--- /dev/null
+++ b/.config/swayrbar/config.toml
@@ -0,0 +1,107 @@
+refresh_interval = 1000
+
+[[modules]]
+name = "window"
+instance = "0"
+format = "๐ŸชŸ {title} โ€” {app_name}"
+html_escape = false
+
+[modules.on_click]
+Left = [
+ "swayr",
+ "switch-to-urgent-or-lru-window",
+]
+Right = [
+ "kill",
+ "{pid}",
+]
+
+[[modules]]
+name = "cmd"
+instance = "0"
+format = "{HOME}/.config/swayrbar/scripts/idle-status"
+html_escape = false
+
+[modules.on_click]
+Left = ["{HOME}/.config/swayrbar/scripts/idle-toggle"]
+
+[[modules]]
+name = "sysinfo"
+instance = "0"
+format = "๎‰ฆ CPU: {cpu_usage:{:5.1}}% Mem: {mem_usage:{:5.1}}%"
+html_escape = false
+
+[modules.on_click]
+Left = [
+ "foot",
+ "htop",
+]
+
+[[modules]]
+name = "battery"
+instance = "0"
+format = "๐Ÿ”‹ {state_of_charge:{:5.1}}%, {state}"
+html_escape = false
+
+[[modules]]
+name = "pactl"
+instance = "0"
+format = "๐Ÿ”ˆ{volume:{:3}}%{muted}"
+html_escape = true
+
+[[modules]]
+name = "nmcli"
+instance = "0"
+format = "๓ฐคจ {name} {signal}"
+html_escape = true
+
+[modules.on_click]
+Right = [
+ "pactl",
+ "set-sink-mute",
+ "@DEFAULT_SINK@",
+ "toggle",
+]
+WheelDown = [
+ "pactl",
+ "set-sink-volume",
+ "@DEFAULT_SINK@",
+ "-1%",
+]
+Left = ["pavucontrol"]
+WheelUp = [
+ "pactl",
+ "set-sink-volume",
+ "@DEFAULT_SINK@",
+ "+1%",
+]
+
+[[modules]]
+name = "cmd"
+instance = "1"
+format = "{HOME}/.config/swayrbar/scripts/brightness-status"
+html_escape = false
+
+[modules.on_click]
+WheelUp = [
+ "brightnessctl",
+ "set",
+ "5%+",
+]
+WheelDown = [
+ "brightnessctl",
+ "set",
+ "5%-",
+]
+
+[[modules]]
+name = "cmd"
+instance = "2"
+format = "{HOME}/.config/swayrbar/scripts/temp-status"
+html_escape = false
+
+[[modules]]
+name = "date"
+instance = "0"
+format = "๓ฑ‘† %F %X"
+html_escape = false