desktop: terminal: add my.desktop.terminal.default for the niri Mod+Return binding
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.my.desktop.terminal.default = {
|
||||
command = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "kitty";
|
||||
};
|
||||
desktop = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "kitty.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -55,6 +55,7 @@ in
|
||||
binds = lib.mkMerge [
|
||||
{
|
||||
"Mod+G".spawn = [ config.my.desktop.browser.default.command ];
|
||||
"Mod+Return".spawn = [ config.my.desktop.terminal.default.command ];
|
||||
}
|
||||
(builtins.listToAttrs (
|
||||
map (n: {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
binds {
|
||||
Mod+Return { spawn "kitty" "-1"; }
|
||||
Mod+E { spawn "nautilus"; }
|
||||
Ctrl+Alt+Escape { spawn "missioncenter"; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user