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,
|
config,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
|
|
@ -9,10 +8,9 @@
|
||||||
mkAction = variant: action:
|
mkAction = variant: action:
|
||||||
mkRON "enum" {
|
mkRON "enum" {
|
||||||
inherit variant;
|
inherit variant;
|
||||||
value = [
|
value = [action];
|
||||||
(mkRON "enum" action)
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
mkEnumAction = variant: action: mkAction variant (mkRON "enum" action);
|
||||||
in {
|
in {
|
||||||
imports = [inputs.cosmic-manager.homeManagerModules.cosmic-manager];
|
imports = [inputs.cosmic-manager.homeManagerModules.cosmic-manager];
|
||||||
wayland.desktopManager.cosmic = {
|
wayland.desktopManager.cosmic = {
|
||||||
|
|
@ -27,9 +25,25 @@ in {
|
||||||
|
|
||||||
shortcuts = [
|
shortcuts = [
|
||||||
{
|
{
|
||||||
action = mkAction "System" "Terminal";
|
action = mkEnumAction "System" "Terminal";
|
||||||
key = "Super+Return";
|
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 = {
|
compositor = {
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.menu = {
|
programs.menu = {
|
||||||
package = pkgs.tofi;
|
package = pkgs.wofi;
|
||||||
dmenuCommand = "${pkgs.tofi}/bin/tofi --fuzzy-match true";
|
dmenuCommand = "${lib.getExe pkgs.wofi} --show dmenu";
|
||||||
drunCommand = "${pkgs.tofi}/bin/tofi-drun --drun-launch true";
|
drunCommand = "${lib.getExe pkgs.wofi} --show drun";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
@ -47,6 +47,5 @@
|
||||||
]
|
]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.gnome-keyring.enable = true;
|
|
||||||
services.hyprpaper.enable = lib.mkForce false;
|
services.hyprpaper.enable = lib.mkForce false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
|
||||||
virtualisation.waydroid.enable = true;
|
virtualisation.waydroid.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue