framework: wofi -> tofi, add cosmic rbw bindings
This commit is contained in:
parent
f6c272f35e
commit
8ae09da94c
3 changed files with 24 additions and 9 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@
|
|||
];
|
||||
|
||||
programs.menu = {
|
||||
package = pkgs.tofi;
|
||||
dmenuCommand = "${pkgs.tofi}/bin/tofi --fuzzy-match true";
|
||||
drunCommand = "${pkgs.tofi}/bin/tofi-drun --drun-launch true";
|
||||
package = pkgs.wofi;
|
||||
dmenuCommand = "${lib.getExe pkgs.wofi} --show dmenu";
|
||||
drunCommand = "${lib.getExe pkgs.wofi} --show drun";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -47,6 +47,5 @@
|
|||
]
|
||||
'';
|
||||
|
||||
services.gnome-keyring.enable = true;
|
||||
services.hyprpaper.enable = lib.mkForce false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
virtualisation.waydroid.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue