2024-06-29 12:40:18 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-08-01 23:00:58 -04:00
|
|
|
}: {
|
2024-07-26 00:29:06 -04:00
|
|
|
programs.waybar.settings.mainBar."bluetooth" = {
|
|
|
|
"on-click" = lib.mkForce "${lib.getExe pkgs.rofi-bluetooth} -i";
|
|
|
|
};
|
|
|
|
|
2024-06-29 12:40:18 -04:00
|
|
|
wayland.windowManager = {
|
|
|
|
sway.config = {
|
|
|
|
assigns = {
|
|
|
|
"workspace 1: web" = [{app_id = "firefox";} {app_id = "brave-browser";}];
|
2024-07-23 17:29:05 -04:00
|
|
|
"workspace 2: code" = [{app_id = "codium-url-handler";} {app_id = "dev.zed.Zed";}];
|
|
|
|
"workspace 3: note" = [{app_id = "obsidian";}];
|
|
|
|
"workspace 4: chat" = [{app_id = "org.gnome.Fractal";} {app_id = "WebCord";}];
|
|
|
|
"workspace 5: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";} {app_id = "firework";}];
|
|
|
|
};
|
|
|
|
|
2024-08-02 07:37:56 -04:00
|
|
|
floating.criteria = [{app_id = "Bitwarden";} {app_id = "org.keepassxc.KeePassXC";}];
|
2024-07-23 17:29:05 -04:00
|
|
|
|
|
|
|
keybindings = {
|
2024-08-01 22:20:57 -04:00
|
|
|
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
|
2024-07-23 17:29:05 -04:00
|
|
|
"${config.wayland.windowManager.sway.config.modifier}+N" = "exec ${lib.getExe' pkgs.obsidian "obsidian"}";
|
2024-06-29 12:40:18 -04:00
|
|
|
};
|
|
|
|
|
2024-07-21 23:25:10 -04:00
|
|
|
output = {
|
|
|
|
"Guangxi Century Innovation Display Electronics Co., Ltd 27C1U-D 0000000000001" = {
|
|
|
|
scale = "1.5";
|
|
|
|
pos = "-2560 0";
|
|
|
|
};
|
|
|
|
|
|
|
|
"HP Inc. HP 24mh 3CM037248S " = {
|
|
|
|
scale = "1.0";
|
|
|
|
pos = "-1920 0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-07-23 17:29:05 -04:00
|
|
|
window.commands = [
|
|
|
|
{
|
2024-08-02 07:37:56 -04:00
|
|
|
command = "resize set 80ppt 80ppt; move position center;";
|
|
|
|
criteria = {app_id = "Bitwarden";};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
command = "resize set 80ppt 80ppt; move position center; sticky toggle;";
|
2024-07-23 17:29:05 -04:00
|
|
|
criteria = {app_id = "org.keepassxc.KeePassXC";};
|
|
|
|
}
|
2024-06-29 12:40:18 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-07-19 13:59:48 -04:00
|
|
|
hyprland.settings = {
|
|
|
|
bind = [
|
|
|
|
"SUPER SHIFT,N,movetoworkspace,special:notes"
|
|
|
|
"SUPER,N,togglespecialworkspace,notes"
|
2024-08-01 22:20:57 -04:00
|
|
|
"SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
|
2024-07-19 13:59:48 -04:00
|
|
|
];
|
2024-06-29 12:40:18 -04:00
|
|
|
|
2024-07-25 11:51:04 -04:00
|
|
|
input.kb_options = "ctrl:nocaps";
|
|
|
|
|
2024-07-19 13:59:48 -04:00
|
|
|
windowrulev2 = [
|
2024-08-02 07:37:56 -04:00
|
|
|
"center(1),class:(Bitwarden)"
|
2024-07-19 13:59:48 -04:00
|
|
|
"center(1),class:(org.keepassxc.KeePassXC)"
|
2024-08-02 07:37:56 -04:00
|
|
|
"float,class:(Bitwarden)"
|
2024-07-19 13:59:48 -04:00
|
|
|
"float,class:(org.keepassxc.KeePassXC)"
|
2024-08-02 07:37:56 -04:00
|
|
|
"size 80% 80%,class:(Bitwarden)"
|
2024-07-19 13:59:48 -04:00
|
|
|
"size 80% 80%,class:(org.keepassxc.KeePassXC)"
|
|
|
|
"workspace 1,class:(brave-browser)"
|
|
|
|
"workspace 1,class:(firefox)"
|
|
|
|
"workspace 2,class:(codium-url-handler)"
|
|
|
|
"workspace 2,class:(dev.zed.Zed)"
|
|
|
|
"workspace 3,class:(firework)"
|
|
|
|
"workspace 3,class:(google-chrome)"
|
|
|
|
"workspace special:magic,class:(WebCord)"
|
|
|
|
"workspace special:magic,class:(org.gnome.Fractal)"
|
|
|
|
];
|
2024-06-29 12:40:18 -04:00
|
|
|
|
2024-07-19 13:59:48 -04:00
|
|
|
workspace = [
|
|
|
|
"1,defaultName:web,on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser}"
|
|
|
|
"2,defaultName:code,on-created-empty:${lib.getExe config.ar.home.defaultApps.editor}"
|
|
|
|
"special:magic,on-created-empty:${lib.getExe pkgs.fractal}"
|
|
|
|
"special:notes,on-created-empty:${lib.getExe' pkgs.obsidian "obsidian"}"
|
|
|
|
];
|
|
|
|
};
|
2024-06-29 12:40:18 -04:00
|
|
|
};
|
2024-07-15 00:14:18 -04:00
|
|
|
|
|
|
|
ar.home.desktop.hyprland.monitors = [
|
|
|
|
"desc:Guangxi Century Innovation Display Electronics Co. Ltd 27C1U-D 0000000000001,preferred,-2400x0,1.6"
|
|
|
|
"desc:HP Inc. HP 24mh 3CM037248S,preferred,-1920x0,auto"
|
|
|
|
"desc:LG Electronics LG IPS QHD 109NTWG4Y865,preferred,-2560x0,auto"
|
|
|
|
];
|
2024-06-29 12:40:18 -04:00
|
|
|
}
|