fix!: migrate to wofi

This commit is contained in:
2025-07-03 18:04:03 -07:00
parent 30c5043f97
commit 80ae6d8af2
7 changed files with 88 additions and 25 deletions

View File

@@ -12,7 +12,7 @@
./kanata.nix
./pipewire.nix
./keys.nix
./rofi.nix
./wofi.nix
./desktop.nix
./zed-editor.nix
];

View File

@@ -28,7 +28,6 @@
prismlauncher
feh
dconf
rofi
papirus-icon-theme
pa_applet
libnotify
@@ -50,7 +49,7 @@
enable = true;
wayland = true;
};
rofi.enable = true;
wofi.enable = true;
services.upower.enable = true;
zed.enable = true;
@@ -135,7 +134,7 @@
settings = {
"$mod" = "SUPER";
"$terminal" = "ghostty";
"$menu" = "rofi -show drun -theme ~/.config/rofi/launcher.rasi";
"$menu" = "wofi -show drun";
bind =
[
"$mod, Return, exec, $terminal"

View File

@@ -55,7 +55,7 @@
];
programs.thunar.enable = true;
services.tumbler.enable = true;
rofi.enable = true;
# rofi.enable = true;
home-manager.users.luca = {
programs = {

View File

@@ -1,20 +0,0 @@
{
pkgs,
lib,
config,
...
}:
{
options.rofi = {
enable = lib.mkEnableOption "enable rofi";
};
config = lib.mkIf config.rofi.enable {
home-manager.users.luca = {
xdg.configFile = {
rofi.source = ../../custom/rofi;
};
};
};
}

20
nix/modules/wofi.nix Normal file
View File

@@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}:
{
options.wofi = {
enable = lib.mkEnableOption "enable wofi";
};
config = lib.mkIf config.wofi.enable {
environment.systemPackages = with pkgs; [ wofi ];
home-manager.users.luca = {
xdg.configFile = {
wofi.source = ../../custom/wofi;
};
};
};
}