2024-10-15 02:40:43 -04:00
|
|
|
{ pkgs, config, ... }:
|
2024-10-09 03:36:08 -04:00
|
|
|
{
|
2024-08-24 22:16:51 -04:00
|
|
|
wayland.windowManager.sway = {
|
2024-09-23 16:22:01 -04:00
|
|
|
config = {
|
|
|
|
# Define monitors
|
2024-08-24 22:16:51 -04:00
|
|
|
output = {
|
2024-10-15 02:40:43 -04:00
|
|
|
${config.displays.d1} = {
|
2024-08-24 22:16:51 -04:00
|
|
|
pos = "1920 405";
|
|
|
|
mode = "1920x1080@143.980Hz";
|
|
|
|
max_render_time = "3";
|
|
|
|
bg = "~/.wallpapers/1.png fill";
|
|
|
|
adaptive_sync = "on";
|
2024-09-30 23:02:14 -04:00
|
|
|
#tearing_allowed = "1";
|
2024-08-24 22:16:51 -04:00
|
|
|
};
|
2024-10-15 02:40:43 -04:00
|
|
|
${config.displays.d2} = {
|
2024-08-24 22:16:51 -04:00
|
|
|
pos = "0 405";
|
|
|
|
mode = "1920x1080@60Hz";
|
|
|
|
max_render_time = "3";
|
|
|
|
bg = "~/.wallpapers/2.png fill";
|
|
|
|
};
|
2024-10-15 02:40:43 -04:00
|
|
|
${config.displays.d3} = {
|
2024-08-24 22:16:51 -04:00
|
|
|
pos = "3840 0";
|
|
|
|
mode = "1680x1050@59.883Hz";
|
|
|
|
transform = "270";
|
|
|
|
max_render_time = "3";
|
|
|
|
bg = "~/.wallpapers/3.png fill";
|
|
|
|
};
|
|
|
|
"*" = {
|
|
|
|
bg = "~/.wallpapers/1.png fill";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-23 16:22:01 -04:00
|
|
|
# HID device config
|
2024-08-24 22:16:51 -04:00
|
|
|
input = {
|
|
|
|
"9610:4103:SINOWEALTH_Game_Mouse" = {
|
|
|
|
pointer_accel = "-0.9";
|
|
|
|
};
|
|
|
|
"9639:64097:Compx_2.4G_Receiver_Mouse" = {
|
|
|
|
pointer_accel = "-0.82";
|
|
|
|
};
|
|
|
|
"1452:627:bcm5974" = {
|
|
|
|
scroll_factor = "0.3";
|
|
|
|
};
|
|
|
|
"*" = {
|
|
|
|
accel_profile = "flat";
|
|
|
|
dwt = "disabled";
|
|
|
|
natural_scroll = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|