feat: waybar!!!

This commit is contained in:
2025-07-07 19:16:09 +01:00
parent e99a958d61
commit c2d973c6da
3 changed files with 24 additions and 18 deletions

View File

@ -64,7 +64,9 @@ env = HYPRCURSOR_SIZE,24
env = __NV_DISABLE_EXPLICIT_SYNC,1 env = __NV_DISABLE_EXPLICIT_SYNC,1
exec = gsettings set org.gnome.desktop.interface gtk-theme "catppuccin-mocha-blue-standard+default" # for GTK3 apps exec = gsettings set org.gnome.desktop.interface gtk-theme "catppuccin-mocha-blue-standard+default" # for GTK3 apps
exec = gsettings set org.gnome.desktop.interface color-scheme "catppuccin-mocha-blue-standard+default" # for GTK4 apps exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps
env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORMTHEME,qt5ct

View File

@ -7,14 +7,14 @@
"modules-center": ["clock", "custom/music"], "modules-center": ["clock", "custom/music"],
"modules-right": ["pulseaudio", "backlight", "battery", "tray", "custom/lock", "custom/power"], "modules-right": ["pulseaudio", "backlight", "battery", "tray", "custom/lock", "custom/power"],
"hyprland/workspaces": { "hyprland/workspaces": {
"disable-scroll": true, "disable-scroll": true
}, },
"tray": { "tray": {
"icon-size": 36, "icon-size": 36,
"spacing": 10 "spacing": 16
}, },
"custom/music": { "custom/music": {
"format": " {}", "format": " {}",
"escape": true, "escape": true,
"interval": 5, "interval": 5,
"tooltip": false, "tooltip": false,
@ -26,26 +26,30 @@
"timezone": "Europe/London", "timezone": "Europe/London",
"format": "{:%H:%M %d/%m/%Y}" "format": "{:%H:%M %d/%m/%Y}"
}, },
"backlight": {
"format": "{icon} {percent}%",
"format-icons": ["󰃚", "󰃛", "󰃜", "󰃝"]
},
"battery": { "battery": {
"states": { "states": {
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
"format": "{icon}", "format": "{icon}",
"format-charging": "", "format-charging": "",
"format-plugged": "", "format-plugged": "🔌",
"format-alt": "{icon}", "format-alt": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
"format": "{icon} {format_source} {volume}%", "format": "{icon} {format_source} {volume}%",
"format-muted": "", "format-muted": " mute",
"format-source": "", "format-source": "",
"format-source-muted": " ", "format-source-muted": " src mute ",
"format-icons": { "format-icons": {
"hdmi": ["", "", " "], "hdmi": ["", "", ""],
"default": ["", "", ""] "default": ["", "", ""]
}, },
"on-click": "pavucontrol" "on-click": "pavucontrol"
}, },
@ -57,6 +61,6 @@
"custom/power": { "custom/power": {
"tooltip": false, "tooltip": false,
"on-click": "wlogout &", "on-click": "wlogout &",
"format": "" "format": ""
} }
} }

View File

@ -1,8 +1,8 @@
@import "mocha.css"; @import "mocha.css";
* { * {
font-family: FantasqueSansMono Nerd Font; font-family: "SpaceMono Nerd Font";
font-size: 17px; font-size: 20px;
min-height: 0; min-height: 0;
} }
@ -56,6 +56,8 @@
#battery { #battery {
color: @green; color: @green;
margin-right: 1rem;
border-radius: 0rem 1rem 1rem 0rem;
} }
#battery.charging { #battery.charging {
@ -68,10 +70,7 @@
#backlight { #backlight {
color: @yellow; color: @yellow;
} border-radius: 1rem 0rem 0rem 1rem;
#backlight, #battery {
border-radius: 0;
} }
#pulseaudio { #pulseaudio {
@ -92,6 +91,7 @@
#custom-power { #custom-power {
margin-right: 1rem; margin-right: 1rem;
padding-right: 1.5rem;
border-radius: 0px 1rem 1rem 0px; border-radius: 0px 1rem 1rem 0px;
color: @red; color: @red;
} }