Regenerated

This commit is contained in:
2026-04-02 22:13:55 +02:00
parent ae2dfda8a7
commit 7b0bb3e5be
3 changed files with 613 additions and 616 deletions
+431 -458
View File
File diff suppressed because it is too large Load Diff
+114 -114
View File
@@ -2661,55 +2661,23 @@ These are config files for waybar
"layer": "top", "layer": "top",
"height": 34, "height": 34,
"modules-center": [ //"modules-left": ["hyprland/window"],
"hyprland/workspaces"
"custom/workspaceswindows" "modules-center": ["hyprland/workspaces" ],
],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
"network", "network",
"custom/bluetooth", // "cpu",
// "memory",
// "temperature",
"battery", "battery",
"tray", "tray",
"clock" "clock",
"custom/notifications",
], ],
"custom/workspaceswindows": {
"exec": "~/.config/waybar/scripts/workspaceswindows.sh",
"interval": 2,
"return-type": "json",
"format": "{}",
"on-click": "~/.config/waybar/scripts/workspaceswindowsmenu.sh",
"tooltip": true
},
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 "
}
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"network": {
"format-wifi": " ({bandwidthDownBits})",
"format-ethernet": " ({bandwidthDownBits})",
"format-disconnected": "Disconnected ⚠",
"on-click": "nm-connection-editor"
},
"custom/bluetooth": { "custom/bluetooth": {
"exec": "~/.config/waybar/scripts/bluetooth-status.sh", "exec": "~/.config/waybar/scripts/bluetooth-status.sh",
"interval": 5, "interval": 5,
@@ -2718,33 +2686,91 @@ These are config files for waybar
"format": "{}" "format": "{}"
}, },
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 ",
},
"tooltip-format-activated": "Staying awake",
"tooltip-format-deactivated": "Might sleep....",
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"headset": "",
"phone": "",
"portable": "",
"default": ["", ""],
},
"on-click": "pavucontrol",
},
"network": {
"format-wifi": " ({bandwidthDownBits})",
"format-ethernet": " ({bandwidthDownBits})",
"format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "impala",
"on-click-right": "nm-connection-editor",
},
"cpu": {
"format": "{usage}%  ",
"tooltip": false,
},
"memory": {
"format": "{percentage}%  ",
},
"temperature": {
"format": "{temperatureC}°C ",
"tooltip": false,
},
"tray": { "tray": {
"spacing": 10, "spacing": 10,
"icon-size": 14 "icon-size": 14,
}, },
"clock": { "clock": {
"format": "{:%a, %d %b %Y - %H:%M}", "format": "{:%a, %d %b %Y - %H:%M}",
"tooltip": false "tooltip": false,
"on-click": "flatpak run eu.betterbird.Betterbird -calendar",
}, },
"battery": { "battery": {
"bat": "BAT0", "bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 15,
},
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄", "format-charging": "{capacity}% 󰂄",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "] "format-plugged": "{capacity}%  ",
} "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "],
},
} }
#+END_SRC #+END_SRC
** =.config/waybar/style.css= ** =.config/waybar/style.css=
This file contains all css for waybar This file contains all css for waybar
#+BEGIN_SRC css :tangle generated/.config/waybar/config :noweb yes :mkdirp yes :eval never #+BEGIN_SRC css :tangle generated/.config/waybar/config :noweb yes :mkdirp yes :eval never
/* --- Hyprland palette --- */ /* --- Hyprland palette (ported) --- */
@define-color base rgba(30, 30, 46, 1.0); @define-color base rgba(30, 30, 46, 1.0); /* 1e1e2eff */
@define-color inactive rgba(89, 89, 89, 0.667); @define-color inactive rgba(89, 89, 89, 0.667); /* 595959aa */
@define-color blue rgba(51, 204, 255, 0.933); @define-color blue rgba(51, 204, 255, 0.933); /* 33ccffee */
@define-color green rgba(0, 255, 153, 0.933); @define-color green rgba(0, 255, 153, 0.933); /* 00ff99ee */
/* extra colors you referenced but didnt define */
@define-color text rgba(255, 255, 255, 1.0); @define-color text rgba(255, 255, 255, 1.0);
@define-color surface1 rgba(255, 255, 255, 0.08); @define-color surface1 rgba(255, 255, 255, 0.08);
@define-color subtext1 rgba(255, 255, 255, 0.35); @define-color subtext1 rgba(255, 255, 255, 0.35);
@@ -2752,22 +2778,25 @@ This file contains all css for waybar
@define-color overlay1 rgba(255, 255, 255, 0.35); @define-color overlay1 rgba(255, 255, 255, 0.35);
@define-color yellow rgba(255, 215, 0, 0.95); @define-color yellow rgba(255, 215, 0, 0.95);
/* --- Global font --- */
* { * {
font-family: Aporetic Sans Mono, Iosevka Nerd Font, Roboto, Helvetica, Arial, sans-serif; font-family:
Aporetic Sans Mono,
Iosevka Nerd Font,
Roboto,
Helvetica,
Arial,
sans-serif;
font-size: 13px; font-size: 13px;
} }
window#waybar { window#waybar {
background-color: transparent; background-color: transparent;
color: @text; color: @text;
border-bottom: 0px solid rgba(0,0,0,0); transition-property: background-color;
transition: background-color 0.5s; border-bottom: 0px solid rgba(0, 0, 0, 0);
transition-duration: 0.5s;
} }
/* =========================================================
* Workspaces buttons
* ========================================================= */
#workspaces button { #workspaces button {
padding: 0px 1px; padding: 0px 1px;
min-width: 80px; min-width: 80px;
@@ -2777,58 +2806,24 @@ window#waybar {
border-radius: 10px; border-radius: 10px;
} }
#workspaces button:hover {
background-color: @surface1;
color: @text;
}
#workspaces button.active { #workspaces button.active {
padding: 0px 1px;
min-width: 80px;
color: @text;
border-radius: 10px;
font-weight: bold; font-weight: bold;
border: 1px solid transparent; border: 1px solid transparent;
background: background:
linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)) padding-box, linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15))
padding-box,
linear-gradient(45deg, @blue, @green) border-box; linear-gradient(45deg, @blue, @green) border-box;
} }
#workspaces button:hover {
background-color: @surface1;
}
/* =========================================================
* Custom Workspaces Content
* Always filled gradient
* ========================================================= */
/* Fill the module fully with gradient */
#custom-workspaceswindows {
padding: 0px 4px;
min-width: 80px;
border-radius: 10px;
font-weight: bold;
color: @text;
text-align: center;
background: linear-gradient(45deg, @blue, @green);
}
/* Ensure the inner span doesnt block the gradient */
#custom-workspaceswindows span {
background: transparent !important;
}
/* =========================================================
* Notifications
* ========================================================= */
#custom-notifications {
margin: 0 4px;
padding: 0 4px;
}
#custom-notifications.empty {
color: @overlay1;
}
#custom-notifications.unread {
color: @yellow;
}
/* =========================================================
* Modules styling
* ========================================================= */
#clock, #clock,
#idle_inhibitor, #idle_inhibitor,
#battery, #battery,
@@ -2851,25 +2846,21 @@ window#waybar {
} }
@keyframes blink { @keyframes blink {
to { background-color: #ffffff; color: black; } to {
background-color: #ffffff;
color: black;
}
} }
#battery.warning:not(.charging) { #battery.warning:not(.charging) {
color: white; color: white;
animation: blink 0.5s linear infinite alternate; animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
} }
#network.disconnected {
background-color: @red;
}
#temperature.critical {
background-color: @red;
}
/* =========================================================
* Layout adjustments
* ========================================================= */
#window, #window,
#workspaces { #workspaces {
margin: 0 4px; margin: 0 4px;
@@ -2882,6 +2873,15 @@ window#waybar {
.modules-right > widget:last-child > #workspaces { .modules-right > widget:last-child > #workspaces {
margin-right: 0; margin-right: 0;
} }
#network.disconnected {
background-color: @red;
}
#temperature.critical {
background-color: @red;
}
#+END_SRC #+END_SRC
** =.config/waybar/scripts/bluetooth-status.sh= ** =.config/waybar/scripts/bluetooth-status.sh=
+68 -44
View File
@@ -2,55 +2,23 @@
"layer": "top", "layer": "top",
"height": 34, "height": 34,
"modules-center": [ //"modules-left": ["hyprland/window"],
"hyprland/workspaces"
"custom/workspaceswindows" "modules-center": ["hyprland/workspaces" ],
],
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
"network", "network",
"custom/bluetooth", // "cpu",
// "memory",
// "temperature",
"battery", "battery",
"tray", "tray",
"clock" "clock",
"custom/notifications",
], ],
"custom/workspaceswindows": {
"exec": "~/.config/waybar/scripts/workspaceswindows.sh",
"interval": 2,
"return-type": "json",
"format": "{}",
"on-click": "~/.config/waybar/scripts/workspaceswindowsmenu.sh",
"tooltip": true
},
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 "
}
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"default": ["", ""]
},
"on-click": "pavucontrol"
},
"network": {
"format-wifi": " ({bandwidthDownBits})",
"format-ethernet": " ({bandwidthDownBits})",
"format-disconnected": "Disconnected ⚠",
"on-click": "nm-connection-editor"
},
"custom/bluetooth": { "custom/bluetooth": {
"exec": "~/.config/waybar/scripts/bluetooth-status.sh", "exec": "~/.config/waybar/scripts/bluetooth-status.sh",
"interval": 5, "interval": 5,
@@ -59,20 +27,76 @@
"format": "{}" "format": "{}"
}, },
"idle_inhibitor": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"activated": "  ",
"deactivated": " 󰒲 ",
},
"tooltip-format-activated": "Staying awake",
"tooltip-format-deactivated": "Might sleep....",
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-icons": {
"headphones": "",
"headset": "",
"phone": "",
"portable": "",
"default": ["", ""],
},
"on-click": "pavucontrol",
},
"network": {
"format-wifi": " ({bandwidthDownBits})",
"format-ethernet": " ({bandwidthDownBits})",
"format-disconnected": "Disconnected ⚠",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"on-click": "impala",
"on-click-right": "nm-connection-editor",
},
"cpu": {
"format": "{usage}%  ",
"tooltip": false,
},
"memory": {
"format": "{percentage}%  ",
},
"temperature": {
"format": "{temperatureC}°C ",
"tooltip": false,
},
"tray": { "tray": {
"spacing": 10, "spacing": 10,
"icon-size": 14 "icon-size": 14,
}, },
"clock": { "clock": {
"format": "{:%a, %d %b %Y - %H:%M}", "format": "{:%a, %d %b %Y - %H:%M}",
"tooltip": false "tooltip": false,
"on-click": "flatpak run eu.betterbird.Betterbird -calendar",
}, },
"battery": { "battery": {
"bat": "BAT0", "bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 15,
},
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄", "format-charging": "{capacity}% 󰂄",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "] "format-plugged": "{capacity}%  ",
} "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "],
},
} }