2023-09-21 18:37:25 -04:00

164 lines
3.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"layer": "top",
"exclusive": true,
"passthrough": false,
"position": "bottom",
"spacing": 3,
"fixed-center": true,
"ipc": true,
"margin-top": 6,
"margin-left": 8,
"margin-right": 8,
"modules-left": [
"hyprland/workspaces",
"custom/separator",
"cpu",
"memory",
"disk"
],
"modules-center": [
"clock",
"custom/lock"
],
"modules-right": [
"tray",
"network",
"pulseaudio",
"pulseaudio#microphone",
"custom/power"
],
"hyprland/window": {
"format": "{}"
},
"hyprland/workspaces": {
"format": "{name}",
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"max-length": 10,
"on-click": ""
},
"memory": {
"interval": 30,
"format": " {}%",
"on-click": "killall btop || kitty --title btop sh -c 'btop'",
"max-length": 50
},
"disk": {
"format": " {percentage_used}%",
"tooltip": true,
"interval": 30
},
"custom/separator": {
"format": ""
},
"tray": {
"icon-size": 14,
"tooltip": false,
"spacing": 10
},
"battery": {
"interval": 5,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-plugged": "󰂄 {capacity}%",
"format-icons": [
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": [
"󰃚",
"󰃛",
"󰃜",
"󰃝",
"󰃝",
"󰃞",
"󰃟",
"󰃠"
],
"scroll-step": 5
},
"pulseaudio": {
"format": "{icon} {volume}%",
"tooltip": false,
"format-muted": "󰖁 Mute",
"on-click-right": "pamixer -t",
"on-click": "killall pavucontrol || pavucontrol",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
"󰕾",
""
]
}
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume} %",
"format-source-muted": "",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic",
"on-click-right": "pavucontrol",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
"scroll-step": 5,
},
"network": {
"format": "{ifname}",
"format-wifi": " {signalStrength}%",
"format-ethernet": "󰈀 ",
"format-disconnected": "󰈂 Disconnected",
"tooltip-format": "{ifname} via {gwaddr} ",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} | {ipaddr}/{cidr} ",
"tooltip-format-disconnected": "Disconnected",
"on-click": "killall nm-connection-editor || nm-connection-editor ",
"max-length": 50
},
"hyprland/language": {
"format": " {}",
"format-en": "en-us",
"format-pt": "pt-br"
},
"clock": {
"format": "{:<span color='#ffffff'>󱑒</span> %I:%M %p <span color='#ffffff'> </span>%b %d}"
},
"custom/lock": {
"format": "",
"on-click": "~/.config/hypr/scripts/LockScreen.sh",
"tooltip": false,
},
"custom/power": {
"format": "  ",
"tooltip": false,
"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown"
}
}