use rofi instead of albert now
This commit is contained in:
parent
e8240d98b8
commit
353cb14efa
2 changed files with 15 additions and 1 deletions
|
@ -266,6 +266,7 @@
|
||||||
package = pkgs.noto-fonts-emoji;
|
package = pkgs.noto-fonts-emoji;
|
||||||
name = "Noto Color Emoji";
|
name = "Noto Color Emoji";
|
||||||
};
|
};
|
||||||
|
sizes.popups = 15;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|
|
@ -154,7 +154,7 @@ in
|
||||||
};
|
};
|
||||||
startup =
|
startup =
|
||||||
[
|
[
|
||||||
{ command = "${pkgs.albert}/bin/albert"; always = true; }
|
#{ command = "${pkgs.albert}/bin/albert"; always = true; }
|
||||||
{ command = toString backgroundCommand; always = true; }
|
{ command = toString backgroundCommand; always = true; }
|
||||||
{
|
{
|
||||||
command = toString (pkgs.writers.writeDash "xsettings" ''
|
command = toString (pkgs.writers.writeDash "xsettings" ''
|
||||||
|
@ -283,6 +283,7 @@ in
|
||||||
in
|
in
|
||||||
"exec ${script}";
|
"exec ${script}";
|
||||||
|
|
||||||
|
"${cfg.config.modifier}+space" = "exec ${pkgs.rofi}/bin/rofi -show drun";
|
||||||
"${cfg.config.modifier}+Shift+c" = "reload";
|
"${cfg.config.modifier}+Shift+c" = "reload";
|
||||||
"${cfg.config.modifier}+Shift+r" = "restart";
|
"${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'";
|
"${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 = ''
|
xdg.configFile."albert/albert.conf".text = ''
|
||||||
[General]
|
[General]
|
||||||
hotkey=Meta+Space
|
hotkey=Meta+Space
|
||||||
|
|
Loading…
Reference in a new issue