From b7a270e05fef99b2c55442dafecfcdf56b6dec0d Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Wed, 24 Jan 2024 23:48:32 -0600 Subject: [PATCH] Finished waybar --- hypr/hyprland.conf | 2 +- waybar/config | 4 ---- waybar/style.css | 50 +++++++++++++++++++++++++++------------------- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index acfad76..ae4151b 100755 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -20,7 +20,7 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR exec-once = dbus-update-activation-environment --systemd --all # for XDPH exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH exec-once = /usr/lib/polkit-kde-authentication-agent-1 # authentication dialogue for GUI apps -exec-once = waybar # launch the system panel +exec-once = ~/.config/waybar/autobar.sh exec-once = dunst # start notification demon exec-once = swww init exec-once = syncthing --no-browser diff --git a/waybar/config b/waybar/config index 5cb4eec..1aa3cb4 100755 --- a/waybar/config +++ b/waybar/config @@ -5,10 +5,6 @@ "position": "bottom", "height": 40, "spacing": 4, - "margin-top": 2, - "margin-bottom": 2, - "margin-left": 800, - "margin-right": 800, "output": "DP-2", "modules-left": [ "wireplumber", diff --git a/waybar/style.css b/waybar/style.css index bd0a520..cb19571 100755 --- a/waybar/style.css +++ b/waybar/style.css @@ -9,8 +9,7 @@ } window#waybar { - background: @base; - border-radius: 16px; + background: alpha(@base, 0.6); color: @text; } @@ -36,6 +35,17 @@ window#waybar.hidden { transition: all 0.1s ease; } +.modules-left { + background: @surface0; +} +.modules-center { + background: @surface0; + border-radius: 16px; +} +.modules-right { + background: @surface0; +} + #clock, #cpu, #disk, @@ -51,32 +61,30 @@ window#waybar.hidden { padding: 0 10px; } -/* Left side */ -#wireplumber, -#disk, -#memory, -#cpu, -#custom-gpu, -#temperature { + +#wireplumber{ color: @teal; } - -/* Right side */ -#clock, -#network, -#tray, -#custom-poweroff, +#disk { + color: @rosewater; +} #custom-weather { color: @sapphire; } +#memory, +#cpu, +#network, +#custom-gpu, +#temperature { + color: @green; +} + +#custom-poweroff { + color: @red; +} + /* Old Colors -#wireplumber{ - color: @sapphire; -} -#disk { - color: @peach; -} #memory { color: @teal; }