use rofi instead of albert now

main
Ingolf Wagner 2024-04-19 20:16:28 +02:00
parent e8240d98b8
commit 353cb14efa
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 15 additions and 1 deletions

View File

@ -266,6 +266,7 @@
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes.popups = 15;
};
home-manager.useGlobalPkgs = true;

View File

@ -154,7 +154,7 @@ in
};
startup =
[
{ command = "${pkgs.albert}/bin/albert"; always = true; }
#{ command = "${pkgs.albert}/bin/albert"; always = true; }
{ command = toString backgroundCommand; always = true; }
{
command = toString (pkgs.writers.writeDash "xsettings" ''
@ -283,6 +283,7 @@ in
in
"exec ${script}";
"${cfg.config.modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun";
"${cfg.config.modifier}+Shift+c" = "reload";
"${cfg.config.modifier}+Shift+r" = "restart";
"${cfg.config.modifier}+Shift+e" = "exec i3-nagbar -t warning -m 'Do you want to exit i3?' -b 'Yes' 'i3-msg exit'";
@ -476,6 +477,18 @@ in
};
};
# rofi > albert
programs.rofi = {
enable = true;
cycle = true;
# pass.enable = true;
extraConfig = {
modi = "drun";
show-icons = true;
terminal = "alacritty";
};
};
xdg.configFile."albert/albert.conf".text = ''
[General]
hotkey=Meta+Space