framework: wofi -> tofi, add cosmic rbw bindings

This commit is contained in:
Tristan Beedell 2025-07-16 13:01:10 +01:00 committed by Tristan
parent f6c272f35e
commit 8ae09da94c
3 changed files with 24 additions and 9 deletions

View file

@ -1,5 +1,4 @@
{
pkgs,
config,
lib,
inputs,
@ -9,10 +8,9 @@
mkAction = variant: action:
mkRON "enum" {
inherit variant;
value = [
(mkRON "enum" action)
];
value = [action];
};
mkEnumAction = variant: action: mkAction variant (mkRON "enum" action);
in {
imports = [inputs.cosmic-manager.homeManagerModules.cosmic-manager];
wayland.desktopManager.cosmic = {
@ -27,9 +25,25 @@ in {
shortcuts = [
{
action = mkAction "System" "Terminal";
action = mkEnumAction "System" "Terminal";
key = "Super+Return";
}
{
action = mkEnumAction "System" "Screenshot";
key = "Super+Shift+S";
}
{
action = mkAction "Spawn" "bwmenu";
key = "Super+P";
}
{
action = mkAction "Spawn" "bwusernamemenu";
key = "Super+Ctrl+P";
}
{
action = mkAction "Spawn" "bwotpmenu";
key = "Super+Shift+P";
}
];
compositor = {