You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
3.8 KiB
130 lines
3.8 KiB
{
|
|
"layer": "top",
|
|
"output": "DP-1",
|
|
"position": "top",
|
|
"height": 34,
|
|
"width": 2560,
|
|
"margin": "0, 0, 0, 0",
|
|
"fixed-center": true,
|
|
"modules-left": ["hyprland/workspaces", "mpris"],
|
|
"modules-center": ["clock"],
|
|
"modules-right": ["network", "wireplumber", "tray"],
|
|
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"1": "1: ",
|
|
"2": "2: ",
|
|
"3": "3: ",
|
|
"4": "4: ",
|
|
"5": "5: ",
|
|
"6": "6: ",
|
|
"7": "7: ",
|
|
"8": "8: ",
|
|
"9": "9: ",
|
|
"10": "",
|
|
"urgent": "",
|
|
"focused": "",
|
|
"default": ""
|
|
},
|
|
"show-special": true,
|
|
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
|
"on-scroll-down": "hyprctl dispatch workspace e+1",
|
|
"on-click": "activate"
|
|
},
|
|
|
|
"mpris": {
|
|
"format": "{status_icon} {dynamic}",
|
|
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
|
"dynamic-order": ["title", "artist"],
|
|
"status-icons": {
|
|
"playing": "▶",
|
|
"paused": "⏸"
|
|
},
|
|
"title-len": 48,
|
|
"artist-len": 16,
|
|
// "ignored-players": ["firefox"],
|
|
},
|
|
|
|
"mpd": {
|
|
"format": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon} {stateIcon} {artist} - {title}",
|
|
//"format-disconnected": "",
|
|
"format-stopped": "",
|
|
"title-len": 48,
|
|
"artist-len": 16,
|
|
"interval": 10,
|
|
"consume-icons": {
|
|
"on": " " // Icon shows only when "consume" is on
|
|
},
|
|
"random-icons": {
|
|
"on": " "
|
|
},
|
|
"repeat-icons": {
|
|
"on": " "
|
|
},
|
|
"single-icons": {
|
|
"on": "1 "
|
|
},
|
|
"state-icons": {
|
|
"paused": "",
|
|
"playing": ""
|
|
},
|
|
"tooltip": false,
|
|
//"tooltip-format": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon} {stateIcon} {artist} [{album}] {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
|
|
//"tooltip-format-disconnected": "MPD (disconnected)",
|
|
"on-click": "mpc toggle",
|
|
"on-click-middle": "mpc prev",
|
|
"on-click-right": "mpc next"
|
|
},
|
|
|
|
"clock": {
|
|
"interval": 1,
|
|
"locale": "C",
|
|
"format": "{:%R}",
|
|
"format-alt": " {:%m/%d %R}",
|
|
//"tooltip-format": " {:%b %d, %a}"
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode": "year",
|
|
"mode-mon-col": 4,
|
|
"weeks-pos": "right",
|
|
"first-day-of-week": 1,
|
|
"on-scroll": 1,
|
|
"on-click-right": "mode",
|
|
"format": {
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
|
}
|
|
}
|
|
},
|
|
|
|
"network": {
|
|
"interval": 1,
|
|
"format": "{bandwidthTotalBytes} {icon}",
|
|
"format-alt": "{icon}{ipaddr}/{cidr}",
|
|
"format-alt-click": "click-right",
|
|
"format-wifi": "{bandwidthTotalBytes} {icon}",
|
|
"format-icons": {
|
|
"wifi": ["睊", "直" ,""],
|
|
"ethernet": [""],
|
|
"disconnected": [""]
|
|
},
|
|
"tooltip-format": "{ifname}: {ipaddr}",
|
|
},
|
|
|
|
"wireplumber": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{icon}{volume}",
|
|
"format-muted": " ",
|
|
"format-icons": [" ", " ", " "],
|
|
"on-click": "helvum"
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 15,
|
|
"spacing": 2,
|
|
},
|
|
}
|
|
|