aly: add planify + kb shortcuts + wm rules

This commit is contained in:
Aly Raffauf 2024-09-19 12:18:04 -04:00
parent 7798d01cae
commit 85b63fc1ce
2 changed files with 10 additions and 1 deletions

View file

@ -19,6 +19,7 @@ self: {pkgs, ...}: {
nicotine-plus nicotine-plus
obsidian obsidian
picard picard
planify
tauon tauon
transmission-remote-gtk transmission-remote-gtk
tuba tuba

View file

@ -24,6 +24,7 @@
keybindings = { keybindings = {
"${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"}";
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}"; "${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
"${config.wayland.windowManager.sway.config.modifier}+Space" = "exec ${lib.getExe' pkgs.planify "io.github.alainm23.planify.quick-add"}";
}; };
startup = [ startup = [
@ -55,6 +56,10 @@
command = "resize set 80ppt 80ppt; move position center; sticky toggle;"; command = "resize set 80ppt 80ppt; move position center; sticky toggle;";
criteria = {app_id = "org.keepassxc.KeePassXC";}; criteria = {app_id = "org.keepassxc.KeePassXC";};
} }
{
command = "move position center; sticky toggle; focus;";
criteria = {app_id = "io.github.alainm23.planify.quick-add";};
}
{ {
command = "move to scratchpad"; command = "move to scratchpad";
criteria = {app_id = "org.gnome.Fractal";}; criteria = {app_id = "org.gnome.Fractal";};
@ -70,6 +75,7 @@
bind = [ bind = [
"SUPER,N,exec,${lib.getExe' pkgs.obsidian "obsidian"}" "SUPER,N,exec,${lib.getExe' pkgs.obsidian "obsidian"}"
"SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}" "SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
"SUPER,SPACE,exec,${lib.getExe' pkgs.planify "io.github.alainm23.planify.quick-add"}"
]; ];
dwindle.no_gaps_when_only = "1"; dwindle.no_gaps_when_only = "1";
@ -81,10 +87,12 @@
"center(1),class:(org.keepassxc.KeePassXC)" "center(1),class:(org.keepassxc.KeePassXC)"
"float,class:(Bitwarden)" "float,class:(Bitwarden)"
"float,class:(org.keepassxc.KeePassXC)" "float,class:(org.keepassxc.KeePassXC)"
"pin,class:(io.github.alainm23.planify.quick-add)"
"size 80% 80%,class:(Bitwarden)" "size 80% 80%,class:(Bitwarden)"
"size 80% 80%,class:(org.keepassxc.KeePassXC)" "size 80% 80%,class:(org.keepassxc.KeePassXC)"
"workspace special:magic,class:(vesktop)" "stayfocused,class:(io.github.alainm23.planify.quick-add)"
"workspace special:magic,class:(org.gnome.Fractal)" "workspace special:magic,class:(org.gnome.Fractal)"
"workspace special:magic,class:(vesktop)"
]; ];
workspace = [ workspace = [