Compare commits

...

2 commits

View file

@ -63,7 +63,7 @@
bind = [ bind = [
# opening programs # opening programs
"$mod, Return, exec, foot" "$mod, Return, exec, foot"
"$mod, D, exec, rofi -show drun -show-icons" "$mod, D, exec, wofi"
"$mod, M, exit, " "$mod, M, exit, "
"$mod, Q, killactive, " "$mod, Q, killactive, "
@ -148,18 +148,88 @@
}; };
}; };
programs.rofi = { programs.wofi = {
enable = true; enable = true;
package = pkgs.rofi-wayland; settings = {
theme = ./catppuccin-macchiato.rasi; width = 600;
font = "monospace 14"; height = 365;
terminal = "foot"; location = "center";
extraConfig = { show = "drun";
modi = "drun,run"; prompt = "Search...";
filter_rate = 100;
allow_markup = true;
no_actions = true;
halign = "fill";
orientation = "vertical";
content_halign = "fill";
insensitive = true;
allow_images = true;
image_size = 40;
gtk_dark = true;
layer = "overlay";
}; };
plugins = [ style = ''
pkgs.rofi-top window {
]; margin: 0px;
border: 2px solid #b59dc3;
background-color: #282a36;
border-radius: 18px;
}
#input {
margin: 5px;
border: none;
color: #f8f8f2;
border-radius: 15px;
background-color: #44475a;
}
#inner-box {
margin: 5px;
border: none;
border-radius: 15px;
background-color: #282a36;
}
#outer-box {
margin: 5px;
border: none;
border-radius: 15px;
background-color: #282a36;
}
#scroll {
margin: 0px;
border-radius: 15px;
border: none;
}
#text {
border-radius: 15px;
margin: 5px;
border: none;
color: #f8f8f2;
}
#entry.activatable #text {
color: #282a36;
}
#entry > * {
color: #f8f8f2;
}
#entry:selected {
border-radius: 15px;
background-color: #44475a;
}
#entry:selected #text {
border-radius: 15px;
}
'';
}; };
services.mako = { services.mako = {