mirror of
https://github.com/NotXia/dotfiles.git
synced 2025-12-14 18:11:52 +01:00
189 lines
5.7 KiB
Plaintext
189 lines
5.7 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
|
|
"margin-left": 3,
|
|
"margin-bottom": 0,
|
|
"margin-right": 3,
|
|
|
|
"spacing": 1,
|
|
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
"custom/screenshot_t",
|
|
"idle_inhibitor"
|
|
],
|
|
"modules-right": [
|
|
"cpu",
|
|
"memory",
|
|
"network",
|
|
"bluetooth",
|
|
"pulseaudio",
|
|
"battery",
|
|
"clock",
|
|
// "custom/power",
|
|
"tray"
|
|
],
|
|
|
|
|
|
// -------------------------------------------------------------------------
|
|
// Modules
|
|
// -------------------------------------------------------------------------
|
|
|
|
"custom/screenshot_t": {
|
|
"format":" ",
|
|
"on-click": "~/.config/waybar/scripts/screenshot_full",
|
|
"on-click-right":"~/.config/waybar/scripts/screenshot_area"
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 3,
|
|
"format": "<span rise='1000'></span> {usage}%",
|
|
"max-length": 7,
|
|
"min-length": 7
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 3,
|
|
"format": "<span rise='1000'></span> {used:0.2f}GB",
|
|
"max-length": 12,
|
|
"min-length": 12
|
|
},
|
|
|
|
"battery": {
|
|
"interval": 5,
|
|
"states": {
|
|
"good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "<span rise='1000'>{icon}</span> {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-icons": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": "<span rise='1000'></span> {signalStrength}% <span rise='1000'>|</span> <span rise='1000'></span> {bandwidthUpBytes} <span rise='1000'></span> {bandwidthDownBytes}",
|
|
"format-ethernet": "{ifname} <span rise='1000'>|</span> <span rise='1000'></span> {bandwidthUpBytes} <span rise='1000'></span> {bandwidthDownBytes}",
|
|
"format-linked": "{ifname} No IP",
|
|
"format": "",
|
|
"format-disconnected": "¯\\_(ツ)_/¯",
|
|
"on-click": "alacritty -e 'nmtui'",
|
|
"tooltip-format": "{ifname}\n{ipaddr}/{cidr}",
|
|
"tooltip-format-wifi": "{essid} {frequency}MHz\nStrength: {signaldBm}dBm ({signalStrength}%)\nIP: {ipaddr}/{cidr}",
|
|
"interval": 3,
|
|
"min-length": 32
|
|
},
|
|
|
|
"bluetooth": {
|
|
"format-disabled": "<span rise='1200'></span> off",
|
|
"format-off": "<span rise='1200'></span> off",
|
|
"format-on": "<span rise='1200'></span> on",
|
|
"interval": 3,
|
|
"on-click": "blueman-manager"
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon} ",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
},
|
|
"tooltip": "true"
|
|
},
|
|
|
|
"custom/power": {
|
|
"format": "",
|
|
"tooltip": false,
|
|
"on-click": "wlogout"
|
|
},
|
|
|
|
"clock": {
|
|
"format": "<span rise='1500'> </span> {:%d %b %Y <span rise='1000'>|</span> <span rise='800'></span> %H:%M}"
|
|
},
|
|
|
|
"hyprland/workspaces": {
|
|
"all-outputs": true,
|
|
"format": "{name}",
|
|
"format-icons": {
|
|
"1": "一",
|
|
"2": "二",
|
|
"3": "三",
|
|
"4": "四",
|
|
"5": "五",
|
|
"6": "六",
|
|
"7": "七",
|
|
"8": "八",
|
|
"9": "九",
|
|
"10": "十"
|
|
},
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1 1>/dev/null",
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1 1>/dev/null",
|
|
"sort-by-number": true,
|
|
"active-only": false
|
|
},
|
|
|
|
"hyprland/window": {
|
|
"max-length": 100,
|
|
"separate-outputs": true
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"scroll-step": 3, // %, can be a float
|
|
"format": "<span rise='1000'>{icon}</span> {volume}% <span rise='1000'>|</span> <span rise='1000'>{format_source}</span>",
|
|
"format-bluetooth": "{volume}% {icon} <span rise='1000'>|</span> <span rise='1000'>{format_source}</span>",
|
|
"format-bluetooth-muted": " {icon} <span rise='1000'>|</span> <span rise='1000'>{format_source}</span>",
|
|
"format-muted": "<span rise='1000'></span> <span rise='1000'>|</span> <span rise='1000'>{format_source}</span>",
|
|
//"format-source": "{volume}% ",
|
|
//"format-source-muted": "",
|
|
"format-source": "",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol",
|
|
"on-click-right": "amixer sset Master toggle"
|
|
},
|
|
|
|
"wireplumber": {
|
|
"on-click": "pavucontrol",
|
|
"on-click-right": "amixer sset Master toggle 1>/dev/null",
|
|
//on-click: "${wpctl} set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
|
//on-scroll-down: "${wpctl} set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 0.04+";
|
|
//on-scroll-up: "${wpctl} set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 0.04-";
|
|
"format": "<span foreground='#fab387'>{icon}</span> {volume}%",
|
|
"format-muted": " ",
|
|
"format-source": "",
|
|
"format-source-muted": "",
|
|
//"format-muted": "<span foreground='#fab387'> </span>",
|
|
//"format-icons": [ "<span foreground='#fab387'></span>" ]
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"phone": " ",
|
|
"portable": " ",
|
|
"car": " ",
|
|
"default": [" ", " ", " "]
|
|
}
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 15,
|
|
"spacing": 5
|
|
}
|
|
}
|