use getExe everywhere

This commit is contained in:
müde 2026-09-11 23:04:00 +02:00
commit a090dbe73e
7 changed files with 12 additions and 12 deletions

View file

@ -180,8 +180,8 @@
"Mod+Shift+Numbersign".action.show-hotkey-overlay = { };
# Suggested binds for running programs: terminal, app launcher, screen locker.
"Mod+T".action.spawn = "${lib.getBin pkgs.gnome-console}/bin/kgx";
"Mod+D".action.spawn = "${lib.getBin config.programs.fuzzel.package}/bin/fuzzel";
"Mod+T".action.spawn = lib.getExe pkgs.gnome-console;
"Mod+D".action.spawn = lib.getExe config.programs.fuzzel.package;
# You can also use a shell. Do this if you need pipes, multiple commands, etc.
# Note: the entire command goes as a single argument in the end.
@ -430,7 +430,7 @@
"Mod+O".action.toggle-overview = { };
"Super+Alt+L" = {
action.spawn = "${pkgs.systemd}/bin/loginctl lock-session";
action.spawn = "${lib.getExe' pkgs.systemd "loginctl"} lock-session";
allow-when-locked = true;
};
};