diff --git a/common/themes/default.nix b/common/themes/default.nix index bd8aa19..3b92e9c 100644 --- a/common/themes/default.nix +++ b/common/themes/default.nix @@ -1,7 +1,7 @@ { inputs, ... }: let transparency = amount: { - desktop = 1.0; + desktop = amount; applications = amount; terminal = amount; popups = amount; diff --git a/home/features/wayland/global.nix b/home/features/wayland/global.nix index a10cb22..1160813 100644 --- a/home/features/wayland/global.nix +++ b/home/features/wayland/global.nix @@ -3,6 +3,7 @@ imports = [ ./wlsunset.nix ./wlogout.nix + ./waybar.nix ./anyrun.nix ../desktop diff --git a/home/features/wayland/hyprland/hyprland.conf b/home/features/wayland/hyprland/hyprland.conf index df26446..099b8a7 100644 --- a/home/features/wayland/hyprland/hyprland.conf +++ b/home/features/wayland/hyprland/hyprland.conf @@ -28,7 +28,9 @@ decoration { # Blur extra surfaces layerrule = blur,gtk-layer-shell layerrule = blur,anyrun +layerrule = blur,waybar layerrule = ignorezero,anyrun +layerrule = ignorezero,waybar input { kb_layout = us diff --git a/home/features/wayland/waybar.nix b/home/features/wayland/waybar.nix new file mode 100644 index 0000000..cb35bbd --- /dev/null +++ b/home/features/wayland/waybar.nix @@ -0,0 +1,12 @@ +{ ... }: { + programs.waybar = { + enable = false; + + systemd.enable = true; + systemd.target = "hyprland-session.target"; + }; + + stylix.targets.waybar = { + enable = false; + }; +} diff --git a/hosts/nixos/common/optional/desktop/xdg-portal.nix b/hosts/nixos/common/optional/desktop/xdg-portal.nix index c9e68c8..e449bb6 100644 --- a/hosts/nixos/common/optional/desktop/xdg-portal.nix +++ b/hosts/nixos/common/optional/desktop/xdg-portal.nix @@ -3,7 +3,7 @@ xdg.portal = { enable = true; xdgOpenUsePortal = true; - configPackages = [ pkgs.xdg-desktop-portal-gtk ]; + extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; environment.systemPackages = [ pkgs.xdg-utils ];