zenix: cosmic add audio control hotkeys
This commit is contained in:
parent
34fa25d463
commit
c4bd5f1cf8
3 changed files with 22 additions and 3 deletions
|
|
@ -5,6 +5,8 @@
|
|||
...
|
||||
}: let
|
||||
inherit (config.lib.cosmic) Actions mapBinds;
|
||||
SpawnTerminal = name: pkg:
|
||||
Actions.Spawn (pkgs.writeShellScriptBin name "${lib.getExe pkgs.alacritty} -e ${lib.getExe pkg}");
|
||||
in {
|
||||
programs.cosmic = {
|
||||
enable = true;
|
||||
|
|
@ -42,8 +44,14 @@ in {
|
|||
# System
|
||||
Super. "d" = Actions.Spawn config.programs.menu.drunCommand;
|
||||
Super. "Return" = Actions.Spawn pkgs.alacritty;
|
||||
Super. "e" = SpawnTerminal "aerc" config.programs.aerc.package;
|
||||
Super. "o" = Actions.System "HomeFolder";
|
||||
Super.Shift. "s" = Actions.System "Screenshot";
|
||||
"XF86AudioRaiseVolume" = Actions.System "VolumeRaise";
|
||||
"XF86AudioLowerVolume" = Actions.System "VolumeLower";
|
||||
"XF86AudioPlay" = Actions.System "PlayPause";
|
||||
"XF86AudioNext" = Actions.System "PlayNext";
|
||||
"XF86AudioPrev" = Actions.System "PlayPrev";
|
||||
};
|
||||
background = {
|
||||
displays = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue