Switch to rofi

This commit is contained in:
Alexander Wainwright
2025-12-25 18:50:07 +10:00
parent 0206425f8e
commit 9c46f2d4de

View File

@@ -82,7 +82,7 @@ in
config = {
modifier = "Mod4";
terminal = "wezterm";
menu = "wofi --show drun --allow-images";
menu = "rofi -show drun";
fonts = {
names = [ "JetBrainsMono Nerd Font" ];
@@ -157,7 +157,7 @@ in
modifier = "Mod4";
in lib.mkOptionDefault {
"${modifier}+Return" = "exec wezterm";
"${modifier}+d" = "exec wofi --show drun --allow-images";
"${modifier}+d" = "exec rofi -show drun";
"${modifier}+Shift+q" = "kill";
"${modifier}+Shift+c" = "reload";
"${modifier}+Shift+e" = "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'";
@@ -191,7 +191,6 @@ in
blur_passes 3
blur_radius 5
layer_effects "waybar" blur enable; shadows enable; corner_radius 10;
layer_effects "wofi" blur enable; shadows enable;
'';
};
@@ -208,6 +207,12 @@ in
};
};
programs.rofi = {
enable = true;
font = "JetBrainsMono Nerd Font 12";
theme = lib.mkForce "default"; # Use default for now, can be themed later
};
programs.waybar = {
enable = true;
settings = {
@@ -415,6 +420,4 @@ in
}
'';
};
programs.wofi.enable = true;
}