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

12
custom/wofi/config Normal file
View File

@@ -0,0 +1,12 @@
style=$HOME/.config/wofi/style.css
xoffset=710
yoffset=275
show=drun
width=500
height=500
always_parse_args=true
show_all=true
print_command=true
layer=overlay
insensitive=true
prompt=

52
custom/wofi/style.css Normal file
View File

@@ -0,0 +1,52 @@
window {
margin: 0px;
border: 2px solid #414868;
border-radius: 5px;
background-color: #24283b;
font-family: monospace;
font-size: 12px;
}
#input {
margin: 5px;
border: 1px solid #24283b;
color: #c0caf5;
background-color: #24283b;
}
#input image {
color: #c0caf5;
}
#inner-box {
margin: 5px;
border: none;
background-color: #24283b;
}
#outer-box {
margin: 5px;
border: none;
background-color: #24283b;
}
#scroll {
margin: 0px;
border: none;
}
#text {
margin: 5px;
border: none;
color: #c0caf5;
}
#entry:selected {
background-color: #414868;
font-weight: normal;
}
#text:selected {
background-color: #414868;
font-weight: normal;
}

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;
};
};
};
}