2023-02-25 19:29:33 -03:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
|
|
|
in
|
2024-06-05 01:18:48 -03:00
|
|
|
# inherit (config.my) key accent font theme;
|
2024-05-30 16:54:58 -03:00
|
|
|
# inherit (theme) color;
|
|
|
|
# inherit (pkgs) lib;
|
|
|
|
# mod = "Mod4";
|
|
|
|
# menu = "wlauncher";
|
|
|
|
# terminal = "alacritty";
|
|
|
|
# locked_binds =
|
|
|
|
# lib.mapAttrs' (k: v: lib.nameValuePair "--locked ${k}" v);
|
|
|
|
# code_binds =
|
|
|
|
# lib.mapAttrs' (k: v: lib.nameValuePair "--to-code ${k}" v);
|
|
|
|
# return_mode = lib.mapAttrs (k: v: "${v}; mode default");
|
|
|
|
# playerctl = "exec ${pkgs.playerctl}/bin/playerctl";
|
2023-02-25 19:29:33 -03:00
|
|
|
{
|
|
|
|
wayland.windowManager.sway.config = {
|
|
|
|
assigns = {
|
|
|
|
"2" = [
|
|
|
|
{ class = "firefox"; }
|
|
|
|
{ app_id = "firefox"; }
|
|
|
|
{ class = "Chromium"; }
|
|
|
|
{ app_id = "chromium"; }
|
|
|
|
];
|
2023-08-08 12:43:24 -03:00
|
|
|
"6" = [
|
|
|
|
{ app_id = "org.nicotine_plus.Nicotine"; }
|
|
|
|
{ app_id = "deluge"; }
|
|
|
|
{ app_id = "com.obsproject.Studio"; }
|
|
|
|
];
|
2023-02-25 19:29:33 -03:00
|
|
|
"7" = [
|
|
|
|
{ app_id = "thunderbird"; }
|
|
|
|
{ app_id = "astroid"; }
|
|
|
|
];
|
|
|
|
"9" = [
|
|
|
|
{ class = ".*[Ss]team.*"; }
|
|
|
|
{ app_id = ".*[Ss]team.*"; }
|
|
|
|
{ app_id = "[Ll]utris"; }
|
|
|
|
];
|
|
|
|
"10" = [
|
|
|
|
{ app_id = ".*[Tt]elegram.*"; }
|
|
|
|
{ class = ".*[Tt]elegram.*"; }
|
|
|
|
{ class = "Jitsi Meet"; }
|
|
|
|
{ class = "discord"; }
|
|
|
|
{ title = "Discord"; }
|
|
|
|
{ class = "WebCord"; }
|
|
|
|
{ app_id = "WebCord"; }
|
2024-06-29 01:32:00 -03:00
|
|
|
{ class = "vesktop"; }
|
|
|
|
{ app_id = "vesktop"; }
|
2023-05-07 12:18:50 -03:00
|
|
|
{ class = "Element"; }
|
|
|
|
{ app_id = "Element"; }
|
2023-02-25 19:29:33 -03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
floating = {
|
|
|
|
criteria = [
|
2024-05-25 01:04:19 -03:00
|
|
|
{ class = "Godot"; }
|
2023-02-25 19:29:33 -03:00
|
|
|
{ class = "file_picker"; }
|
|
|
|
{ app_id = "file_picker"; }
|
|
|
|
{ app_id = "wdisplays"; }
|
|
|
|
{ app_id = "pavucontrol"; }
|
|
|
|
{ app_id = ".*[Hh]elvum.*"; }
|
2024-05-11 18:45:55 -03:00
|
|
|
{ workspace = "9"; }
|
2023-02-25 19:29:33 -03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|