aboutsummaryrefslogblamecommitdiff
path: root/.config/swayrbar/config.toml
blob: a0aa955d4e591cd8e271c2a7913b13795609578d (plain) (tree)










































































































                                                                 
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