158 lines
3.5 KiB
Plaintext
158 lines
3.5 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"font": "Fira Code 11",
|
|
"margin-top": 6,
|
|
"margin-left": 6,
|
|
"margin-right": 6,
|
|
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
"niri/workspaces",
|
|
"wlr/taskbar",
|
|
"hyprland/window",
|
|
"niri/window"
|
|
],
|
|
|
|
"modules-center": [
|
|
"clock#1",
|
|
"clock#2",
|
|
"clock#3"
|
|
],
|
|
|
|
"modules-right": [
|
|
"tray",
|
|
"pulseaudio",
|
|
"backlight",
|
|
"memory",
|
|
"cpu",
|
|
"network",
|
|
"battery",
|
|
"keyboard-state"
|
|
],
|
|
|
|
"hyprland/workspaces": {
|
|
"format": "{name}",
|
|
"on-scroll-up": "hyprctl dispatch workspace m-1",
|
|
"on-scroll-down": "hyprctl dispatch workspace m+1",
|
|
"disable-scroll": true
|
|
},
|
|
|
|
"hyprland/window": {
|
|
"max-length": 200,
|
|
"separate-outputs": true
|
|
},
|
|
|
|
"niri/workspaces": {
|
|
"format": "{value}",
|
|
"format-icons": {}
|
|
},
|
|
|
|
"niri/window": {
|
|
"format": "{}",
|
|
"icon": false,
|
|
"separate-outputs": true,
|
|
"offscreen-css": true
|
|
},
|
|
|
|
"wlr/taskbar": {
|
|
"format": "{icon}",
|
|
"tooltip-format": "{title}",
|
|
"on-click": "activate"
|
|
},
|
|
|
|
"clock#1": {
|
|
"format": "{:%A}",
|
|
"tooltip": false
|
|
},
|
|
"clock#2": {
|
|
"format": "{:%I:%M %p}",
|
|
"tooltip": false
|
|
},
|
|
"clock#3": {
|
|
"format": "{:%d/%m/%Y}",
|
|
"tooltip": true
|
|
},
|
|
|
|
"keyboard-state": {
|
|
"numlock": true,
|
|
"capslock": false,
|
|
"format": {
|
|
"numlock": "NL {icon}"
|
|
},
|
|
"format-icons": {
|
|
"locked": "🔳",
|
|
"unlocked": "⚪"
|
|
}
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume:2}%",
|
|
"format-bluetooth": "{icon} {volume:2}% ",
|
|
"format-muted": "🔇 Muted",
|
|
"format-icons": {
|
|
"default": ["", ""],
|
|
"default-muted": ""
|
|
},
|
|
"scroll-step": 6,
|
|
"tooltip": true,
|
|
"on-click": "wpctl set-mute @DEFAULT_SINK@ toggle",
|
|
"on-click-right": "pwvucontrol"
|
|
},
|
|
|
|
"backlight": {
|
|
"format": "{icon} {percent:3}%",
|
|
"format-icons": ["🌑", "🌘", "🌗", "🌖", "🌕"],
|
|
"on-scroll-up": "brightnessctl set 1%+ -q -e",
|
|
"on-scroll-down": "brightnessctl set 1%- -q -e"
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 5,
|
|
"format": "{used:0.2f}/{total:0.2f} GB"
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 1,
|
|
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
|
|
"format-icons": [
|
|
"<span color='#d1b3ff'>▁</span>", // pastel purple (low)
|
|
"<span color='#b5c7ff'>▂</span>", // pastel blue
|
|
"<span color='#a8e6ff'>▃</span>", // pastel cyan
|
|
"<span color='#a8ffd1'>▄</span>", // pastel green
|
|
"<span color='#fff5a5'>▅</span>", // pastel yellow
|
|
"<span color='#ffd1a5'>▆</span>", // pastel orange
|
|
"<span color='#ffb3b3'>▇</span>", // light pastel red
|
|
"<span color='#ff9999'>█</span>" // deeper pastel red (high)
|
|
]
|
|
},
|
|
|
|
"battery": {
|
|
"states": {
|
|
"good": 80,
|
|
"warning": 42,
|
|
"critical": 24
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {icon} {capacity}%",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 8
|
|
},
|
|
|
|
"network": {
|
|
"interface": "wlan0",
|
|
"format": "{ifname}",
|
|
"format-wifi": "{essid} ",
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
"format-disconnected": "disconnected :(", //An empty format will hide the module.
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"tooltip-format-wifi": "Up: {bandwidthUpBytes} - Down: {bandwidthDownBytes}",
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
"tooltip-format-disconnected": "Disconnected"
|
|
}
|
|
}
|