From ca2cfcaea75fe5a6be1b7a8506e84a1d9ba6dacc Mon Sep 17 00:00:00 2001 From: Sense T Date: Tue, 27 Jun 2023 21:52:38 +0800 Subject: [PATCH] waybar --- home/user/config/waybar-style.nix | 5 +++-- home/user/config/waybar.nix | 12 +++++------- home/user/files/hyprland.conf | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/home/user/config/waybar-style.nix b/home/user/config/waybar-style.nix index 7fc9262..175a91e 100644 --- a/home/user/config/waybar-style.nix +++ b/home/user/config/waybar-style.nix @@ -20,8 +20,9 @@ window#waybar.hidden { padding-right: 10px; border-radius: 10px; transition: none; - color: transparent; - background: transparent; + font-weight: bold; + color: #89DCEB; + background: #161320; } #workspaces { diff --git a/home/user/config/waybar.nix b/home/user/config/waybar.nix index 1301f0c..a876d2a 100644 --- a/home/user/config/waybar.nix +++ b/home/user/config/waybar.nix @@ -4,11 +4,9 @@ height = 24; modules-left = [ - "custom/launcher" - "wlr/workspaces" "hyprland/window" ]; - modules-center = [ ]; + modules-center = [ "wlr/workspaces" ]; modules-right = [ "backlight" "wireplumber" @@ -17,7 +15,6 @@ "battery" "tray" "clock" - "custom/power" ]; wireplumber = { @@ -32,7 +29,8 @@ }; "hyprland/window" = { - + format = "{}"; + separate-outputs = true; }; "wlr/workspaces" = { @@ -79,7 +77,7 @@ }; tray = { - icon-size = 16; + icon-size = 24; spacing = 10; }; @@ -117,7 +115,7 @@ }; "custom/power" = { - format = "󰐥"; + format = "󰐥 "; on-click = "nwgbar"; }; } diff --git a/home/user/files/hyprland.conf b/home/user/files/hyprland.conf index 9d2a010..823632b 100644 --- a/home/user/files/hyprland.conf +++ b/home/user/files/hyprland.conf @@ -120,7 +120,7 @@ $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, RETURN, exec, kitty bind = $mainMod SHIFT, Q, killactive, -bind = $mainMod, M, exit, +bind = $mainMod, M, exec, nwgbar bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, nwggrid -o 0.8 bind = $mainMod, P, pseudo, # dwindle