153 lines
4.3 KiB
Plaintext
Executable File
153 lines
4.3 KiB
Plaintext
Executable File
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 40,
|
|
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
"hyprland/window",
|
|
],
|
|
"modules-center": [
|
|
"clock",
|
|
],
|
|
"modules-right": [
|
|
"tray",
|
|
"custom/playerctl",
|
|
"cpu",
|
|
"memory",
|
|
"network",
|
|
"pulseaudio",
|
|
"battery",
|
|
"custom/power",
|
|
],
|
|
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"on-click": "activate",
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"1": "1",
|
|
"2": "2",
|
|
"3": "3",
|
|
"4": "4",
|
|
"5": "5",
|
|
"6": "6",
|
|
"7": "7",
|
|
"8": "8",
|
|
"9": "9",
|
|
"10": "10"
|
|
}
|
|
},
|
|
"hyprland/window": {
|
|
"format": "{}"
|
|
},
|
|
|
|
"clock": {
|
|
"format": "{: %H:%M %p %h %d %Y}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"on-click": "merkuro-calendar"
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 15,
|
|
"spacing": 10
|
|
},
|
|
"custom/playerctl": {
|
|
"format": "{icon}",
|
|
"return-type": "json",
|
|
"max-length": 64,
|
|
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
|
"on-click-middle": "playerctl play-pause",
|
|
"on-click": "playerctl previous",
|
|
"on-click-right": "playerctl next",
|
|
"format-icons": {
|
|
"Playing": "<span foreground='#E5B9C6'> </span>",
|
|
"Paused": "<span foreground='#928374'> </span>"
|
|
},
|
|
},
|
|
"cpu": {
|
|
"interval": 10,
|
|
"format": "{usage}% ",
|
|
"format-alt": "{avg_frequency} GHz ",
|
|
"on-double-click": "gnome-system-monitor"
|
|
},
|
|
"memory": {
|
|
"interval": 30,
|
|
"format": "{used:0.1f}G ",
|
|
"format-alt": "{used:0.1f}G/{total:0.1f}G ",
|
|
"tooltip-format": "{}%",
|
|
"on-double-click": "gnome-system-monitor"
|
|
},
|
|
"network": {
|
|
"interval": 10,
|
|
"format-wifi": "{essid} ",
|
|
"format-ethernet": "{bandwidthUpBytes}⇡ {bandwidthDownBytes}⇣{essid} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": " Disconnected",
|
|
"tooltip-format-wifi": "Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}",
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{volume}% {icon} {format_source}",
|
|
"format-bluetooth": "{volume}%{icon} {format_source}",
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
"format-muted": "\udb81\udf5f {format_source}",
|
|
"format-source": "{volume}% ",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
|
|
"on-click-middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
|
"on-double-click": "pavucontrol"
|
|
},
|
|
"custom/power": {
|
|
"format": "",
|
|
"on-click": "wlogout"
|
|
},
|
|
|
|
//Laptop
|
|
"backlight":{
|
|
"device": "intel_backlight",
|
|
"format": "{icon} {percent}%",
|
|
"format-icons": ["","",""],
|
|
"on-scroll-up": "brightnessctl set 1%+",
|
|
"on-scroll-down": "brightnessctl set 1%-",
|
|
"min-length": 6
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 20
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-alt": "{time} {icon}",
|
|
"format-icons": [" ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
|
|
},
|
|
"custom/wl-gammarelay-temperature": {
|
|
"format": " {}",
|
|
"exec": "wl-gammarelay-rs watch {t}",
|
|
"on-scroll-up": "~/.config/hypr/scripts/brightness.sh temperature-up 100",
|
|
"on-scroll-down": "~/.config/hypr/scripts/brightness.sh temperature-down 100"
|
|
},
|
|
"custom/wl-gammarelay-brightness": {
|
|
"format": " {}",
|
|
"exec": "wl-gammarelay-rs watch {bp}",
|
|
"on-scroll-up": "~/.config/hypr/scripts/brightness.sh brightness-up 0.05",
|
|
"on-scroll-down": "~/.config/hypr/scripts/brightness.sh brightness-down 0.05"
|
|
}
|
|
}
|