From ecead022cabe00cb519bf453dd3f70af1a532e47 Mon Sep 17 00:00:00 2001 From: Nicholai Date: Sun, 23 Nov 2025 22:11:53 -0700 Subject: [PATCH] updated config.jsonc and style.css --- .gitignore | 1 + config.jsonc | 16 +----- nohup.out | 116 ------------------------------------- style.css | 157 +++++++++++++++++++++++++++++++++++---------------- 4 files changed, 112 insertions(+), 178 deletions(-) create mode 100644 .gitignore delete mode 100644 nohup.out diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d4bfcf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +nohup.out diff --git a/config.jsonc b/config.jsonc index 88be678..ec6f5cd 100644 --- a/config.jsonc +++ b/config.jsonc @@ -3,27 +3,15 @@ "position": "top", "modules-left": [ "hyprland/workspaces", - "custom/weather", - "custom/wallpaper", - "hyprland/window" + "tray" ], "modules-center": [ "clock" ], "modules-right": [ - "network", - "bluetooth", "custom/temps", - "custom/power_profile", - "custom/battery", - "backlight", "pulseaudio", - "pulseaudio#microphone", - "tray", - "idle_inhibitor", - "cpu", - "memory", - "battery#bat2" + "pulseaudio#microphone" ], // "modules-left": [], "sway/mode": { diff --git a/nohup.out b/nohup.out deleted file mode 100644 index 70dd2a9..0000000 --- a/nohup.out +++ /dev/null @@ -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 diff --git a/style.css b/style.css index b4e7598..94dbf1c 100644 --- a/style.css +++ b/style.css @@ -1,39 +1,53 @@ * { border: none; - border-radius: 4px; + border-radius: 8px; + /* Increased border-radius by 2x */ /* `ttf-font-awesome` is required to be installed for icons */ font-family: "JetBrainsMono Nerd Font"; /* adjust font-size value to your liking: */ - font-size: 16px; + font-size: 18px; font-weight: bold; min-height: 0; + min-width: 28px; + /* Ensures consistent minimum width */ } window#waybar { - background-color: rgba(0, 0, 0, 0.9); + background-color: rgba(0, 0, 0, 0); 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 { - padding: 2px 8px; - margin: 0 2px; + padding: 4px 8px; + /* Reduced vertical padding further */ + margin: 1px 2px; + /* Reduced vertical margins further */ background-color: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); - border-radius: 6px; + border-radius: 10px; + /* Increased border-radius by 2x */ transition: all 0.3s ease; border: 1px solid transparent; + min-height: 4px; + /* Reduced height even more */ + font-size: 8px; + /* Reduced even more */ } #workspaces button:hover { 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); } #workspaces button.active { 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); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); } @@ -46,6 +60,13 @@ window#waybar { #mode { 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, @@ -61,25 +82,43 @@ window#waybar { #mode, #idle_inhibitor, #mpd { - padding: 0 10px; + padding: 6px 10px; + /* Added consistent vertical padding for height consistency */ 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 { - 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 { - margin: 0 6px; - padding: 2px 6px; + margin: 1px 3px; + /* Reduced vertical margins */ + padding: 6px 8px 6px 8px; + /* Reduced vertical padding to 0, kept horizontal padding */ background-color: rgba(0, 0, 0, 0.4); 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 { - margin-left: 0; + margin-left: 4px; + /* Keep some margin from left screen edge */ } /* If workspaces is the rightmost module, omit right margin */ @@ -88,18 +127,18 @@ window#waybar { } #clock { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #battery { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #battery.charging { color: #ffffff; - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); } #battery.critical:not(.charging) { @@ -109,26 +148,26 @@ window#waybar { } label:focus { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); } #cpu { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #memory { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #backlight { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #network { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } @@ -137,33 +176,39 @@ label:focus { } #pulseaudio { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #pulseaudio.muted { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #custom-media { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); 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; } #custom-media.custom-spotify { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #custom-media.custom-vlc { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #temperature { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } @@ -173,19 +218,24 @@ label:focus { } #custom-temps { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; - padding: 0 10px; + 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 */ } #tray { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #idle_inhibitor { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } @@ -195,7 +245,7 @@ label:focus { } #mpd { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } @@ -205,21 +255,27 @@ label:focus { } #mpd.stopped { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #mpd.paused { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #language { - background: #000000; + background: rgba(0, 0, 0, 0.4); color: #ffffff; - padding: 0 5px; + padding: 6px 10px; + /* Standardized vertical padding */ 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, @@ -229,49 +285,54 @@ label:focus { #bluetooth, #pulseaudio-microphone, #battery-bat2 { - padding: 0 10px; + padding: 6px 10px; + /* Added consistent vertical padding for height consistency */ margin: 6px 3px; color: #000000; + min-height: 28px; + /* Ensures consistent minimum height */ + border-radius: 8px; + /* Increased border-radius by 2x */ } #custom-weather { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #custom-wallpaper { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #custom-power_profile { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #bluetooth { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #pulseaudio-microphone { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #pulseaudio-microphone.muted { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: #ffffff; } #battery-bat2 { - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); color: white; } #battery-bat2.charging { color: #ffffff; - background-color: #000000; + background-color: rgba(0, 0, 0, 0.4); } #battery-bat2.critical:not(.charging) {