Home: added tofu; disabled fuzzel
This commit is contained in:
parent
4dc519be8c
commit
9c54aee474
4 changed files with 52 additions and 4 deletions
|
|
@ -12,6 +12,7 @@ in {
|
|||
./hyprland
|
||||
./hyprlock.nix
|
||||
./mako.nix
|
||||
./tofi.nix
|
||||
];
|
||||
|
||||
home.packages = mkIf cfg [
|
||||
|
|
|
|||
|
|
@ -3,11 +3,15 @@
|
|||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
inherit (lib) getExe;
|
||||
in {
|
||||
programs.fuzzel = {
|
||||
inherit (osConfig.programs.hyprland) enable;
|
||||
enable = false; #NOTE: Fuzzel is disabled.
|
||||
# inherit (osConfig.programs.hyprland) enable;
|
||||
settings.main = {
|
||||
launch-prefix = "${lib.getExe pkgs.uwsm} app --";
|
||||
terminal = "${getExe pkgs.foot}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@
|
|||
termappE = termappE: termapp (getExe termappE);
|
||||
|
||||
foot = appE config.programs.foot.package;
|
||||
fuzzel = appE config.programs.fuzzel.package;
|
||||
# fuzzel = appE config.programs.fuzzel.package; #NOTE: Fuzzel is disabled
|
||||
tofi = "sh -c '${uwsm} app -- $(${config.programs.tofi.package}/bin/tofi-drun)'";
|
||||
firefox = appE config.programs.firefox.package;
|
||||
playerctl = appE pkgs.playerctl;
|
||||
brightnessctl = appE pkgs.brightnessctl;
|
||||
|
|
@ -82,7 +83,8 @@ in {
|
|||
"$m, O, pseudo,"
|
||||
"$m ALT, ,resizeactive,"
|
||||
|
||||
"$m, D, exec, ${fuzzel}"
|
||||
# "$m, D, exec, ${fuzzel}" #NOTE: Fuzzel is disabled
|
||||
"$m, D, exec, ${tofi}"
|
||||
"$m, Return, exec, ${foot}"
|
||||
"$m Shift, Return, exec, ${firefox}"
|
||||
"$m, Escape, exec, ${hyprlock}"
|
||||
|
|
|
|||
41
home/wayland/tofi.nix
Normal file
41
home/wayland/tofi.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) getExe;
|
||||
in {
|
||||
programs.tofi = {
|
||||
inherit (osConfig.programs.hyprland) enable;
|
||||
settings = {
|
||||
terminal = "${getExe pkgs.foot}";
|
||||
|
||||
"horizontal" = true;
|
||||
"anchor" = "top";
|
||||
"width" = "100%";
|
||||
"height" = 34;
|
||||
"outline-width" = 0;
|
||||
"border-width" = 0;
|
||||
"min-input-width" = 120;
|
||||
"result-spacing" = 30;
|
||||
"padding-top" = 7;
|
||||
"padding-bottom" = 7;
|
||||
"padding-left" = 20;
|
||||
"padding-right" = 0;
|
||||
"margin-top" = 0;
|
||||
"margin-bottom" = 0;
|
||||
"margin-left" = 15;
|
||||
"margin-right" = 0;
|
||||
"prompt-text" = " ";
|
||||
"prompt-padding" = 30;
|
||||
"prompt-background-padding" = "4, 10";
|
||||
"prompt-background-corner-radius" = 12;
|
||||
"input-background-padding" = "4, 10";
|
||||
"input-background-corner-radius" = 12;
|
||||
"selection-background-padding" = "4, 10";
|
||||
"selection-background-corner-radius" = 12;
|
||||
"clip-to-padding" = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue