aly/wm: bind super+p to rofi-rbw

This commit is contained in:
Aly Raffauf 2024-08-01 22:20:57 -04:00
parent 8d0a3b45d8
commit 9d00dd7750

View file

@ -23,7 +23,7 @@ in {
floating.criteria = [{app_id = "org.keepassxc.KeePassXC";}]; floating.criteria = [{app_id = "org.keepassxc.KeePassXC";}];
keybindings = { keybindings = {
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${keepassxc}"; "${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
"${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}"; "${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}";
}; };
@ -53,7 +53,7 @@ in {
bind = [ bind = [
"SUPER SHIFT,N,movetoworkspace,special:notes" "SUPER SHIFT,N,movetoworkspace,special:notes"
"SUPER,N,togglespecialworkspace,notes" "SUPER,N,togglespecialworkspace,notes"
"SUPER,P,exec,${keepassxc}" "SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
]; ];
exec-once = ["sleep 1 && ${keepassxc}"]; exec-once = ["sleep 1 && ${keepassxc}"];