upstream hyprland and change to tofi

tofi is way faster than wofi
This commit is contained in:
Tristan 2024-01-23 10:09:02 +00:00
parent 3d02938194
commit 0edc2708a1
7 changed files with 21 additions and 12 deletions

View file

@ -27,6 +27,12 @@
}
];
programs.menu = {
package = pkgs.tofi;
dmenuCommand = "${pkgs.tofi}/bin/tofi --fuzzy-match true";
drunCommand = "${pkgs.tofi}/bin/tofi-drun --drun-launch true";
};
roles.mpd.enable = true;
programs.home-manager.enable = true;

View file

@ -6,7 +6,7 @@
}: let
editor = config.programs.editor;
pkg = editor.package;
menu = config.programs.menu.package + config.programs.menu.dmenuCommand;
menu = config.programs.menu.dmenuCommand;
editorCmd = "NIXOS_OZONE_WL= ${pkg}/bin/${pkg.executableName}";
in {
options.programs = with lib; {

View file

@ -7,7 +7,7 @@
cfg = config.programs.menu;
terminal = config.programs.terminal;
termcmd = "${terminal}/bin/${terminal.pname}";
menucmd = "${config.programs.menu.package}${config.programs.menu.drunCommand}";
menucmd = config.programs.menu.drunCommand;
in {
options.programs = with lib; {
menu = {

View file

@ -19,8 +19,8 @@
jq = "${pkgs.jq}/bin/jq";
hyprctl = "${pkgs.hyprland}/bin/hyprctl";
xargs = "${pkgs.findutils}/bin/xargs";
menu = "${config.programs.menu.package}${config.programs.menu.dmenuCommand}";
runmenu = "${config.programs.menu.package}/bin/wofi --show drun";
menu = config.programs.menu.dmenuCommand;
runmenu = config.programs.menu.drunCommand;
fileman = "${pkgs.pcmanfm}/bin/pcmanfm";
gawk = "${pkgs.gawk}/bin/awk";
hyprpicker = "${pkgs.hyprpicker}/bin/hyprpicker";