From 853e195b3fd68f354c3cd47a2de58a5fbd8e79fc Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 17 Oct 2024 17:02:35 +0700 Subject: [PATCH] waybar: swaync notification moved to center --- home/modules/hyprland/wallust-templates/waybar.css | 5 +++-- home/modules/hyprland/waybar.nix | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/home/modules/hyprland/wallust-templates/waybar.css b/home/modules/hyprland/wallust-templates/waybar.css index c0bb069..35cb88e 100644 --- a/home/modules/hyprland/wallust-templates/waybar.css +++ b/home/modules/hyprland/wallust-templates/waybar.css @@ -439,8 +439,8 @@ window#waybar.empty #window { } /* ----------------------------------------------------- - * Tray - * ----------------------------------------------------- */ +* Tray +* ----------------------------------------------------- */ #tray { padding: 0px 15px 0px 0px; @@ -458,6 +458,7 @@ window#waybar.empty #window { #custom-notification { font-family: "NotoSansMono Nerd Font"; margin-right: 20px; + margin-left: 20px; font-size: 20px; font-weight: bold; opacity: 0.8; diff --git a/home/modules/hyprland/waybar.nix b/home/modules/hyprland/waybar.nix index a8a7e75..06b5b08 100644 --- a/home/modules/hyprland/waybar.nix +++ b/home/modules/hyprland/waybar.nix @@ -171,13 +171,13 @@ in ]; modules-center = [ "hyprland/workspaces" + "custom/notification" ]; modules-right = [ "pulseaudio" "bluetooth" "battery" "network" - "custom/notification" "custom/cliphist" "idle_inhibitor" "tray"