feat: added wofi
This commit is contained in:
parent
33dde52c83
commit
bdf186f622
2 changed files with 58 additions and 0 deletions
|
|
@ -14,6 +14,9 @@
|
|||
# window manager
|
||||
self.nixosModules.niri
|
||||
|
||||
# application launcher
|
||||
self.nixosModules.wofi
|
||||
|
||||
# desktop shell/status bar
|
||||
self.nixosModules.noctalia
|
||||
|
||||
|
|
|
|||
55
modules/features/desktop/wofi.nix
Executable file
55
modules/features/desktop/wofi.nix
Executable file
|
|
@ -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 = '' '';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue