// vim: ft=jsonc
{
"layer": "top",
// "output": [],
"position": "top",
"height": 38,
// "width": 900,
// "margin": "",
"margin-top": 0,
"margin-bottom": 0,
"margin-left": 0,
"margin-right": 0,
"spacing": 1,
"gtk-layer-shell": true,
"modules-left": [
"hyprland/workspaces",
"hyprland/window"
],
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "",
"dnd-none": "",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"clock": {
"interval": 1,
"format": "{: %a. %d.%b.%Y %H:%M:%S Uhr}",
"on-click": "orage",
"tooltip": false,
"tooltip-format": "{calendar}",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"format": {
"today": "<span color='#0dbc79'>{}</span>"
}
}
},
"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": "10",
"default": "1"
},
"on-click": "activate"
},
"modules-center": [
"clock"
// "hyprland/submap",
],
"hyprland/submap": {
"format": "{}",
"tooltip": false
},
"hyprland/window": {
"format": "{:.80}",
"separate-outputs": false
},
"sway/workspaces": {
"format": "{icon}",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"default": "1"
},
"on-click": "activate"
},
"sway/mode": {
"format": "{}",
"tooltip": false
},
"modules-right": [
"tray",
"custom/kernel",
"cpu",
"custom/temp",
"memory",
"disk",
// "backlight",
"bluetooth",
"custom/notification",
"pulseaudio#microphone",
"pulseaudio#audio",
"network#wlo1",
"network#eno1"
// "battery"
],
"custom/kernel": {
"format": " {} ",
"interval": 3600,
"exec": "uname -r",
"signal": 8,
"on-click": "kitty -e ~/.config/waybar/kernel-widget-function.sh"
},
"custom/temp": {
"format": " {}°C",
"interval": 5,
"exec": "exec sensors | grep 'Tctl' | cut --characters 16-19",
"on-click": "kitty -e btop"
},
"tray": {
"icon-size": 18,
"spacing": 10
},
"cpu": {
"format": " {usage}%",
"on-click": "",
"tooltip": true
},
"memory": {
"format": " {percentage}%",
"on-click": "",
"tooltip": true
},
"disk": {
"format": " {percentage_used}%",
"path": "/",
"on-click": "kitty -e ~/.config/waybar/disk-widget-function.sh",
"tooltip": "true",
"tooltip-format": "{used} used out of {total} on {path}"
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
""
],
"on-scroll-up": "brightnessctl set +5% && ~/.config/dunst/scripts/show_brightness.sh",
"on-scroll-down": "brightnessctl set 5%- && ~/.config/dunst/scripts/show_brightness.sh",
"on-click": "",
"tooltip": false
},
"pulseaudio#audio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}%",
"format-bluetooth-muted": " {volume}%",
"format-muted": " {volume}%",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
""
]
},
"on-click": "pamixer -t",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"tooltip": true,
"tooltip-format": "{icon} {desc}"
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume}%",
"format-source-muted": " {volume}%",
"on-click": "pamixer -t",
"on-scroll-up": "pamixer --default-source -i 5",
"on-scroll-down": "pamixer --default-source -d 5",
"max-volume": 100,
"tooltip": false
},
"network#wlo1": {
"interval": 1,
"interface": "wlo1",
"format-icons": [
"",
"",
"",
"",
""
],
"format-wifi": "{icon} ",
// "format-disconnected": "",
"format-disconnected": "",
// "format-alt": "{icon} {essid} | {signalStrength}% {signaldBm} dBm {frequency} MHz",
"on-click": "nm-connection-editor",
"tooltip": true,
"tooltip-format": " Wi-Fi\n {ipaddr}/{cidr}\n{icon} {essid}\n {signalStrength}% {signaldBm} dBm {frequency} MHz\n {bandwidthDownBytes}\n {bandwidthUpBytes}"
},
"network#eno1": {
"interval": 1,
"interface": "enp34s0",
"format-icons": [
"",
""
],
"format-ethernet": "{icon}",
// "format-disconnected": "",
"format-disconnected": "",
// "format-alt": "{icon} | {ifname} | {ipaddr}/{cidr}",
"on-click": "nmtui",
"tooltip": true,
"tooltip-format": " Ethernet\n {ipaddr}/{cidr}\n {bandwidthDownBytes}\n {bandwidthUpBytes}"
},
"bluetooth": {
"format-disabled": "",
"format-off": "",
"format-on": "",
"format-connected": "",
"format-connected-battery": "",
"tooltip-format-connected": "{device_alias} {device_battery_percentage}%",
"on-click": "blueman-manager",
"tooltip": true
},
"battery": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"on-click": "",
"tooltip": false
}
}
Größe: 6.10 KB