diff --git a/modules/features/desktop/default.nix b/modules/features/desktop/default.nix index 8cf6813..7add84b 100644 --- a/modules/features/desktop/default.nix +++ b/modules/features/desktop/default.nix @@ -14,6 +14,9 @@ # window manager self.nixosModules.niri + # application launcher + self.nixosModules.wofi + # desktop shell/status bar self.nixosModules.noctalia diff --git a/modules/features/desktop/wofi.nix b/modules/features/desktop/wofi.nix new file mode 100755 index 0000000..8068095 --- /dev/null +++ b/modules/features/desktop/wofi.nix @@ -0,0 +1,55 @@ +{ self, inputs, ... }: { + + # wofi launcher module declaration + flake.nixosModules.wofi = { config, ... }: { + + # for home manager functionality + imports = [ inputs.home-manager.nixosModules.home-manager ]; + + # home manager options + home-manager.user.serenity = { + + # enables wofi + programs.wofi = { + enable = true; + + # wofi settings + settings = { + term = "kitty"; + show = "drun"; + width = 500; + height = 300; + prompt = "Programs"; + normal_window = true; + key_exit = "Escape"; + key_expand = "Tab"; + layer = "top"; + gtk_dark = true; + orientation = "vertical"; + halign = "fill"; + line_wrap = "off"; + dynamic_lines = false; + allow_markup = true; + allow_images = true; + image_size = 24; + hide_scroll = true; + hide_search = false; + exec_search = false; + parse_search = false; + insensitive = true; + no_actions = true; + sort_order = "default"; + filter_rate = 100; + ## Steam not launching from wofi, but will launch in terminal + ## See: core/modules/gaming.nix + ## https://github.com/ValveSoftware/steam-for-linux/issues/9940 + disable_prime = false; + }; + + # NOT YET IMPLEMENTED + # wofi theme + #style = '' ''; + }; + }; + }; +}