Switch to fuzzel
Has better matching.
This commit is contained in:
parent
ab21c4aba3
commit
1e7e7b1dab
1 changed files with 25 additions and 5 deletions
|
|
@ -82,7 +82,7 @@ in
|
||||||
config = {
|
config = {
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
terminal = "wezterm";
|
terminal = "wezterm";
|
||||||
menu = "rofi -show drun";
|
menu = "fuzzel";
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ "JetBrainsMono Nerd Font" ];
|
names = [ "JetBrainsMono Nerd Font" ];
|
||||||
|
|
@ -156,7 +156,7 @@ in
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
in lib.mkOptionDefault {
|
in lib.mkOptionDefault {
|
||||||
"${modifier}+Return" = "exec wezterm";
|
"${modifier}+Return" = "exec wezterm";
|
||||||
"${modifier}+d" = "exec rofi -show drun";
|
"${modifier}+d" = "exec fuzzel";
|
||||||
"${modifier}+Shift+q" = "kill";
|
"${modifier}+Shift+q" = "kill";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${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'";
|
"${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'";
|
||||||
|
|
@ -258,10 +258,30 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.rofi = {
|
programs.fuzzel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = "JetBrainsMono Nerd Font 12";
|
settings = {
|
||||||
theme = lib.mkForce "default"; # Use default for now, can be themed later
|
main = {
|
||||||
|
terminal = "${pkgs.wezterm}/bin/wezterm";
|
||||||
|
layer = "overlay";
|
||||||
|
width = 100;
|
||||||
|
line-height = 40;
|
||||||
|
font = "JetBrainsMono Nerd Font:size=12";
|
||||||
|
};
|
||||||
|
colors = {
|
||||||
|
background = "${lib.strings.removePrefix "#" base}ff";
|
||||||
|
text = "${lib.strings.removePrefix "#" text}ff";
|
||||||
|
match = "${lib.strings.removePrefix "#" lavender}ff";
|
||||||
|
selection = "${lib.strings.removePrefix "#" surface1}ff";
|
||||||
|
selection-text = "${lib.strings.removePrefix "#" text}ff";
|
||||||
|
selection-match = "${lib.strings.removePrefix "#" lavender}ff";
|
||||||
|
border = "${lib.strings.removePrefix "#" lavender}ff";
|
||||||
|
};
|
||||||
|
border = {
|
||||||
|
width = 2;
|
||||||
|
radius = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue