aly: move sway config to parity with hyprland
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-07-23 17:29:05 -04:00
parent ae0e007ba2
commit 5bc55968b4
2 changed files with 18 additions and 12 deletions

View file

@ -226,10 +226,8 @@ in {
floating.criteria = [ floating.criteria = [
{app_id = ".blueman-manager-wrapped";} {app_id = ".blueman-manager-wrapped";}
{app_id = "Bitwarden";}
{app_id = "blueberry.py";} {app_id = "blueberry.py";}
{app_id = "com.github.wwmm.easyeffects";} {app_id = "com.github.wwmm.easyeffects";}
{app_id = "org.keepassxc.KeePassXC";}
{app_id = "pavucontrol";} {app_id = "pavucontrol";}
{app_id = "solaar";} {app_id = "solaar";}
{title = "Open File";} {title = "Open File";}
@ -266,10 +264,6 @@ in {
command = "resize set 60ppt 80ppt; move position center"; command = "resize set 60ppt 80ppt; move position center";
criteria = {app_id = "solaar";}; criteria = {app_id = "solaar";};
} }
{
command = "resize set 80ppt 80ppt; move position center";
criteria = {app_id = "org.keepassxc.KeePassXC";};
}
{ {
command = "resize set 40ppt 60ppt; move position center"; command = "resize set 40ppt 60ppt; move position center";
criteria = {app_id = ".blueman-manager-wrapped";}; criteria = {app_id = ".blueman-manager-wrapped";};

View file

@ -8,10 +8,17 @@
sway.config = { sway.config = {
assigns = { assigns = {
"workspace 1: web" = [{app_id = "firefox";} {app_id = "brave-browser";}]; "workspace 1: web" = [{app_id = "firefox";} {app_id = "brave-browser";}];
"workspace 2: code" = [{app_id = "codium-url-handler";}]; "workspace 2: code" = [{app_id = "codium-url-handler";} {app_id = "dev.zed.Zed";}];
"workspace 3: chat" = [{app_id = "org.gnome.Fractal";} {app_id = "WebCord";}]; "workspace 3: note" = [{app_id = "obsidian";}];
"workspace 4: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";} {app_id = "firework";}]; "workspace 4: chat" = [{app_id = "org.gnome.Fractal";} {app_id = "WebCord";}];
"workspace 10: zoom" = [{class = "zoom";} {app_id = "Zoom";}]; "workspace 5: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";} {app_id = "firework";}];
};
floating.criteria = [{app_id = "org.keepassxc.KeePassXC";}];
keybindings = {
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe' pkgs.keepassxc "keepassxc"}";
"${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}";
}; };
output = { output = {
@ -26,8 +33,13 @@
}; };
}; };
startup = [ startup = [{command = ''sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"}'';}];
{command = ''${lib.getExe' pkgs.keepassxc "keepassxc"}'';}
window.commands = [
{
command = "resize set 80ppt 80ppt; move position center; sticky toggle; ";
criteria = {app_id = "org.keepassxc.KeePassXC";};
}
]; ];
}; };