From 859e6e0bb9746e4bb7acee59853363d513453780 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 3 Jan 2026 20:11:04 -0500 Subject: fix wofi, and switch back to it --- home/apps/wofi/default.nix | 2 +- home/apps/wofi/style.nix | 2 +- home/desktops/hyprland/settings.nix | 6 ++++++ hosts/shinji/default.nix | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/home/apps/wofi/default.nix b/home/apps/wofi/default.nix index 2de9f45..b528f65 100644 --- a/home/apps/wofi/default.nix +++ b/home/apps/wofi/default.nix @@ -7,7 +7,7 @@ cfg = config.apps.wofi; in { config = mkIf cfg.enable { - default.appLauncher = lib.mkDefault "wofi --show drun --prompt 'Seach Programs'"; + default.appLauncher = lib.mkOverride 800 "wofi --show drun --prompt 'Seach Programs' --allow-images --no-actions --normal-window"; programs.wofi = { enable = true; diff --git a/home/apps/wofi/style.nix b/home/apps/wofi/style.nix index 75a0a21..8d1fb75 100644 --- a/home/apps/wofi/style.nix +++ b/home/apps/wofi/style.nix @@ -18,7 +18,7 @@ in '' /* Window */ window { margin: 0px; - border: ${borderWidth} solid ${primary}; + border: none; border-radius: ${outerRadius}; background-color: ${base}; } diff --git a/home/desktops/hyprland/settings.nix b/home/desktops/hyprland/settings.nix index c3f006a..51c8b4d 100644 --- a/home/desktops/hyprland/settings.nix +++ b/home/desktops/hyprland/settings.nix @@ -95,6 +95,12 @@ sensitivity = 0; }; + # Window rules + windowrulev2 = [ + "float,workspace 1,forclass wofi" + "noborder,forclass wofi" + ]; + # XWayland xwayland = { force_zero_scaling = "true"; diff --git a/hosts/shinji/default.nix b/hosts/shinji/default.nix index 734d620..31ece3c 100644 --- a/hosts/shinji/default.nix +++ b/hosts/shinji/default.nix @@ -65,6 +65,7 @@ # modules apps = { astal.enable = true; + wofi.enable = true; hyprlock.enable = true; kitty.enable = true; }; -- cgit v1.2.3-freya