updated config.jsonc and style.css

This commit is contained in:
Nicholai 2025-11-23 22:11:53 -07:00
parent e1f75d7c82
commit ecead022ca
4 changed files with 112 additions and 178 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
nohup.out

View File

@ -3,27 +3,15 @@
"position": "top", "position": "top",
"modules-left": [ "modules-left": [
"hyprland/workspaces", "hyprland/workspaces",
"custom/weather", "tray"
"custom/wallpaper",
"hyprland/window"
], ],
"modules-center": [ "modules-center": [
"clock" "clock"
], ],
"modules-right": [ "modules-right": [
"network",
"bluetooth",
"custom/temps", "custom/temps",
"custom/power_profile",
"custom/battery",
"backlight",
"pulseaudio", "pulseaudio",
"pulseaudio#microphone", "pulseaudio#microphone"
"tray",
"idle_inhibitor",
"cpu",
"memory",
"battery#bat2"
], ],
// "modules-left": [], // "modules-left": [],
"sway/mode": { "sway/mode": {

116
nohup.out
View File

@ -1,116 +0,0 @@
[2025-10-25 23:56:16.835] [info] Using configuration file /home/nicholai/.config/waybar/config.jsonc
[2025-10-25 23:56:16.836] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[2025-10-25 23:56:16.836] [info] Using CSS file /home/nicholai/.config/waybar/style.css
[2025-10-25 23:56:16.838] [info] Hyprland IPC starting
[2025-10-25 23:56:16.839] [info] Loading persistent workspaces from Waybar config
[2025-10-25 23:56:16.839] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-10-25 23:56:16.840] [warning] 'swap-icon-label' must be a bool.
[2025-10-25 23:56:16.844] [warning] module backlight: Disabling module "backlight", No backlight found
[2025-10-25 23:56:16.845] [warning] No battery named BAT2
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
[2025-10-25 23:56:16.958] [info] Bar configured (width: 3840, height: 34) for output: DP-3
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
powerprofilesctl not available
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
powerprofilesctl not available
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found
sh: line 1: powerprofilesctl: command not found
sh: line 1: /home/Nicholai/.config/waybar/scripts/battery.sh: No such file or directory
sh: line 1: powerprofilesctl: command not found

157
style.css
View File

@ -1,39 +1,53 @@
* { * {
border: none; border: none;
border-radius: 4px; border-radius: 8px;
/* Increased border-radius by 2x */
/* `ttf-font-awesome` is required to be installed for icons */ /* `ttf-font-awesome` is required to be installed for icons */
font-family: "JetBrainsMono Nerd Font"; font-family: "JetBrainsMono Nerd Font";
/* adjust font-size value to your liking: */ /* adjust font-size value to your liking: */
font-size: 16px; font-size: 18px;
font-weight: bold; font-weight: bold;
min-height: 0; min-height: 0;
min-width: 28px;
/* Ensures consistent minimum width */
} }
window#waybar { window#waybar {
background-color: rgba(0, 0, 0, 0.9); background-color: rgba(0, 0, 0, 0);
color: #ffffff; color: #ffffff;
margin-top: 8px;
/* Add top margin to prevent touching screen top */
margin-bottom: 8px;
/* Optional: Also add bottom margin for consistency */
} }
#workspaces button { #workspaces button {
padding: 2px 8px; padding: 4px 8px;
margin: 0 2px; /* Reduced vertical padding further */
margin: 1px 2px;
/* Reduced vertical margins further */
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6); color: rgba(255, 255, 255, 0.6);
border-radius: 6px; border-radius: 10px;
/* Increased border-radius by 2x */
transition: all 0.3s ease; transition: all 0.3s ease;
border: 1px solid transparent; border: 1px solid transparent;
min-height: 4px;
/* Reduced height even more */
font-size: 8px;
/* Reduced even more */
} }
#workspaces button:hover { #workspaces button:hover {
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
color: #000000; color: rgba(0, 0, 0, 0.4);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
} }
#workspaces button.active { #workspaces button.active {
background-color: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.3);
color: #000000; color: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.5);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
} }
@ -46,6 +60,13 @@ window#waybar {
#mode { #mode {
background-color: #64727d; background-color: #64727d;
padding: 6px 10px;
/* Added consistent vertical padding */
margin: 6px 3px;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
} }
#clock, #clock,
@ -61,25 +82,43 @@ window#waybar {
#mode, #mode,
#idle_inhibitor, #idle_inhibitor,
#mpd { #mpd {
padding: 0 10px; padding: 6px 10px;
/* Added consistent vertical padding for height consistency */
margin: 6px 3px; margin: 6px 3px;
color: #000000; color: rgba(0, 0, 0, 0.4);
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
} }
#window { #window {
margin: 0 4px; margin: 6px 4px;
/* Added vertical margins to match other modules */
padding: 6px 10px;
/* Added consistent vertical padding */
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
} }
#workspaces { #workspaces {
margin: 0 6px; margin: 1px 3px;
padding: 2px 6px; /* Reduced vertical margins */
padding: 6px 8px 6px 8px;
/* Reduced vertical padding to 0, kept horizontal padding */
background-color: rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.4);
border-radius: 8px; border-radius: 8px;
/* Increased border-radius by 2x */
min-height: 3px;
/* Reduced height even more */
} }
/* If workspaces is the leftmost module, omit left margin */ /* If workspaces is the leftmost module, use smaller left margin */
.modules-left>widget:first-child>#workspaces { .modules-left>widget:first-child>#workspaces {
margin-left: 0; margin-left: 4px;
/* Keep some margin from left screen edge */
} }
/* If workspaces is the rightmost module, omit right margin */ /* If workspaces is the rightmost module, omit right margin */
@ -88,18 +127,18 @@ window#waybar {
} }
#clock { #clock {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#battery { #battery {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#battery.charging { #battery.charging {
color: #ffffff; color: #ffffff;
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
@ -109,26 +148,26 @@ window#waybar {
} }
label:focus { label:focus {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
} }
#cpu { #cpu {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#memory { #memory {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#backlight { #backlight {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#network { #network {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
@ -137,33 +176,39 @@ label:focus {
} }
#pulseaudio { #pulseaudio {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#pulseaudio.muted { #pulseaudio.muted {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#custom-media { #custom-media {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
padding: 6px 10px;
/* Added consistent vertical padding */
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
min-width: 100px; min-width: 100px;
} }
#custom-media.custom-spotify { #custom-media.custom-spotify {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#custom-media.custom-vlc { #custom-media.custom-vlc {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#temperature { #temperature {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
@ -173,19 +218,24 @@ label:focus {
} }
#custom-temps { #custom-temps {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
padding: 0 10px; padding: 6px 10px;
/* Added consistent vertical padding */
margin: 6px 3px; margin: 6px 3px;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
} }
#tray { #tray {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#idle_inhibitor { #idle_inhibitor {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
@ -195,7 +245,7 @@ label:focus {
} }
#mpd { #mpd {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
@ -205,21 +255,27 @@ label:focus {
} }
#mpd.stopped { #mpd.stopped {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#mpd.paused { #mpd.paused {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#language { #language {
background: #000000; background: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
padding: 0 5px; padding: 6px 10px;
/* Standardized vertical padding */
margin: 6px 3px; margin: 6px 3px;
min-width: 16px; min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
min-width: 28px;
/* Increased for consistency */
} }
#custom-weather, #custom-weather,
@ -229,49 +285,54 @@ label:focus {
#bluetooth, #bluetooth,
#pulseaudio-microphone, #pulseaudio-microphone,
#battery-bat2 { #battery-bat2 {
padding: 0 10px; padding: 6px 10px;
/* Added consistent vertical padding for height consistency */
margin: 6px 3px; margin: 6px 3px;
color: #000000; color: #000000;
min-height: 28px;
/* Ensures consistent minimum height */
border-radius: 8px;
/* Increased border-radius by 2x */
} }
#custom-weather { #custom-weather {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#custom-wallpaper { #custom-wallpaper {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#custom-power_profile { #custom-power_profile {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#bluetooth { #bluetooth {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#pulseaudio-microphone { #pulseaudio-microphone {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#pulseaudio-microphone.muted { #pulseaudio-microphone.muted {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: #ffffff; color: #ffffff;
} }
#battery-bat2 { #battery-bat2 {
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
color: white; color: white;
} }
#battery-bat2.charging { #battery-bat2.charging {
color: #ffffff; color: #ffffff;
background-color: #000000; background-color: rgba(0, 0, 0, 0.4);
} }
#battery-bat2.critical:not(.charging) { #battery-bat2.critical:not(.charging) {