framework: fixes and tweaks
This commit is contained in:
parent
08ec72daba
commit
e97a74b983
15 changed files with 33 additions and 42 deletions
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (config.lib.cosmic) Actions mapBinds;
|
||||
SpawnTerminal = name: pkg:
|
||||
Actions.Spawn (pkgs.writeShellScriptBin name "${lib.getExe pkgs.alacritty} -e ${lib.getExe pkg}");
|
||||
Actions.Spawn (pkgs.writeShellScriptBin name "${lib.getExe config.programs.terminal} -e ${lib.getExe pkg}");
|
||||
in {
|
||||
programs.cosmic = {
|
||||
enable = true;
|
||||
|
|
@ -43,7 +43,7 @@ in {
|
|||
Super.Shift. "y" = Actions.ToggleSticky;
|
||||
# System
|
||||
Super. "d" = Actions.Spawn config.programs.menu.drunCommand;
|
||||
Super. "Return" = Actions.Spawn pkgs.alacritty;
|
||||
Super. "Return" = Actions.Spawn config.programs.terminal;
|
||||
Super. "e" = SpawnTerminal "aerc" config.programs.aerc.package;
|
||||
Super. "o" = Actions.System "HomeFolder";
|
||||
Super.Shift. "s" = Actions.System "Screenshot";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue