From 45b6a907fb20305d4c1334732601296feda4be88 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 6 Jan 2025 13:17:40 +1100 Subject: [PATCH] waybar: remove test component --- .../workstation/hyprland/components/waybar.nix | 14 +------------- modules/home/workstation/hyprland/default.nix | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/modules/home/workstation/hyprland/components/waybar.nix b/modules/home/workstation/hyprland/components/waybar.nix index 1aaa034..70b6c83 100644 --- a/modules/home/workstation/hyprland/components/waybar.nix +++ b/modules/home/workstation/hyprland/components/waybar.nix @@ -29,7 +29,7 @@ in { margin-top = 10; margin-bottom = -12; - modules-left = ["custom/logo" "clock" "battery" "hyprland/workspaces"]; + modules-left = ["clock" "battery" "hyprland/workspaces"]; modules-center = []; modules-right = ["custom/hyprrecord" "tray"]; @@ -82,11 +82,6 @@ in { on-click = "exec hyprrecord -a --waybar screen copysave video"; signal = 12; }; - "custom/logo" = { - format = " "; - tooltop = "false"; - on-click = "exec notify-send 'hello!'"; - }; }; style = /* @@ -158,13 +153,6 @@ in { color: #${color.orange.base}; } - #custom-logo { - background-image: url('/home/ooks/Media/Pictures/my-art/pixel-art/info-icon.svg'); - background-position: center; - background-repeat: no-repeat; - background-size: 24px; - } - #custom-hyprrecord { color: #${color.red.base}; padding-right: 20px; diff --git a/modules/home/workstation/hyprland/default.nix b/modules/home/workstation/hyprland/default.nix index 0bf1580..a314a2b 100644 --- a/modules/home/workstation/hyprland/default.nix +++ b/modules/home/workstation/hyprland/default.nix @@ -18,7 +18,7 @@ in { enable = true; package = inputs'.hyprland.packages.hyprland; xwayland.enable = true; - systemd = { + systemd = mkIf (!osConfig.programs.uwsm.enable) { enable = true; variables = ["--all"]; };