eww replacement of waybar

This commit is contained in:
samantha42
2026-04-20 20:37:54 +02:00
parent a240874719
commit 52fa42698f
14 changed files with 591 additions and 119 deletions

View File

@@ -9,7 +9,7 @@
"margin-left": 10,
"margin-right": 10,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-center": ["custom/logout","clock", "custom/settings"],
"modules-right": ["custom/theme", "pulseaudio", "network", "cpu", "memory", "battery", "tray"],
"hyprland/workspaces": {
"format": "{icon}",
@@ -26,8 +26,9 @@
},
"hyprland/window": { "format": " {}", "max-length": 20, "separate-outputs": true },
"clock": {
"format": "{:%H:%M, %A, %B %d %Y}",
"format-alt": "{:%H:%M}",
"interval": 1,
"format": "{:%H:%M:%S}",
"format-alt": "{:%H:%M, %A, %B %d %Y}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": { "format": "{usage}%", "tooltip": true, "interval": 2 },
@@ -52,6 +53,14 @@
"format-icons": { "headphone": "󰋋", "default": ["󰕿", "󰖀", "󰕾"] },
"on-click": "~/.config/eww/scripts/toggle-mixer.sh"
},
"custom/settings": {
"format": "󰒓",
"on-click": "your-settings-command"
},
"custom/logout": {
"format": "󰍃",
"on-click": "your-logout-command"
},
"custom/theme": {
"exec": "$HOME/.config/hypr/theme-cycle.sh status",
@@ -85,7 +94,7 @@
"margin-left": 10,
"margin-right": 10,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-center": ["custom/logout","clock", "custom/settings"],
"modules-right": ["custom/theme", "pulseaudio", "network", "cpu", "memory", "battery", "tray"],
"hyprland/workspaces": {
"format": "{icon}",
@@ -102,8 +111,9 @@
},
"hyprland/window": { "format": " {}", "max-length": 50, "separate-outputs": true },
"clock": {
"format": "{:%H:%M, %A, %B %d %Y}",
"format-alt": "{:%H:%M}",
"interval": 1,
"format": "{:%H:%M:%S}",
"format-alt": "{:%H:%M, %A, %B %d %Y}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": { "format": "{usage}%", "tooltip": true, "interval": 2 },
@@ -129,6 +139,14 @@
"on-click": "pavucontrol"
},
"custom/settings": {
"format": "󰒓",
"on-click": "your-settings-command"
},
"custom/logout": {
"format": "󰍃",
"on-click": "your-logout-command"
},
"custom/theme": {
"exec": "$HOME/.config/hypr/theme-cycle.sh status",