move output configuration out of general sway config, change wallpaper

This commit is contained in:
xunuwu 2025-04-15 12:22:57 +02:00
parent 7e02ec035f
commit e5a3deb9ec
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
6 changed files with 36 additions and 17 deletions

View file

@ -60,19 +60,6 @@
'';
config = {
modifier = "Mod4";
output = {
"DP-3" = {
mode = "1920x1080@165Hz";
position = "1920 0";
allow_tearing = "yes";
};
"HDMI-A-1" = {
position = "0 0";
};
};
# output = {
# "*".bg = "${config.xdg.userDirs.pictures}/wallpaper fill";
# };
input."type:keyboard".xkb_layout = osConfig.services.xserver.xkb.layout;
bars = []; # i use waybar instead
window = {

View file

@ -6,6 +6,7 @@
}: {
imports = with homeProfiles; [
./defaults.nix
./outputs.nix
secrets.default

View file

@ -0,0 +1,13 @@
{inputs, ...}: {
wayland.windowManager.sway.config.output = {
"DP-3" = {
mode = "1920x1080@165Hz";
position = "1920 0";
# allow_tearing = "yes";
bg = "${inputs.wallpaper.outPath} fill";
};
"HDMI-A-1" = {
position = "0 0";
};
};
}