From 04766a82c68b78e5b803add610a05488bfaf8e8c Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 12 Nov 2023 18:51:09 +0100 Subject: [PATCH] change waybar config --- modules/home/waybar/default.nix | 2 +- modules/home/waybar/settings.nix | 11 +---------- modules/home/waybar/style.nix | 20 -------------------- 3 files changed, 2 insertions(+), 31 deletions(-) diff --git a/modules/home/waybar/default.nix b/modules/home/waybar/default.nix index a291d08..c7b2597 100755 --- a/modules/home/waybar/default.nix +++ b/modules/home/waybar/default.nix @@ -7,7 +7,7 @@ let secondary_accent= "89b4fa"; tertiary_accent = "f5f5f5"; background = "11111B"; - opacity = "1"; + opacity = "0.55"; cursor = "Numix-Cursor"; palette = rec { primary_accent_hex = "cba6f7"; diff --git a/modules/home/waybar/settings.nix b/modules/home/waybar/settings.nix index 50ad4a9..26780d3 100644 --- a/modules/home/waybar/settings.nix +++ b/modules/home/waybar/settings.nix @@ -15,7 +15,7 @@ programs.waybar.settings.mainBar = { position= "top"; layer= "top"; - height= 15; + # height= 15; margin-top= 0; margin-bottom= 0; margin-left= 0; @@ -25,7 +25,6 @@ "custom/playerctl#backward" "custom/playerctl#play" "custom/playerctl#foward" - "custom/playerlabel" ]; modules-center= [ "hyprland/workspaces" @@ -82,14 +81,6 @@ on-scroll-up = "playerctl volume .05+"; on-scroll-down = "playerctl volume .05-"; }; - "custom/playerlabel"= { - format= "󰎈 {} 󰎈"; - return-type= "json"; - max-length= 40; - exec = "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F"; - on-click= ""; - }; - memory= { format= "󰍛 {}%"; format-alt= "󰍛 {used}/{total} GiB"; diff --git a/modules/home/waybar/style.nix b/modules/home/waybar/style.nix index 5907740..8d2cc2e 100644 --- a/modules/home/waybar/style.nix +++ b/modules/home/waybar/style.nix @@ -25,18 +25,6 @@ background: ${custom.palette.primary_background_rgba}; } - #cava.left, #cava.right { - background: #${custom.palette.tertiary_background_hex}; - margin: 5px; - padding: 8px 16px; - color: #${custom.primary_accent}; - } - #cava.left { - border-radius: 24px 10px 24px 10px; - } - #cava.right { - border-radius: 10px 24px 10px 24px; - } #workspaces { background: #${custom.palette.tertiary_background_hex}; margin: 5px 5px; @@ -123,14 +111,6 @@ padding-right: 12px; margin-right: 7px } - #custom-playerlabel { - background: #${custom.palette.tertiary_background_hex}; - color: #${custom.tertiary_accent}; - padding: 0 20px; - border-radius: 24px 10px 24px 10px; - margin: 5px 0; - font-weight: bold; - } #window{ background: #${custom.palette.tertiary_background_hex}; padding-left: 15px;