move output configuration out of general sway config, change wallpaper
This commit is contained in:
parent
7e02ec035f
commit
e5a3deb9ec
6 changed files with 36 additions and 17 deletions
|
@ -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 = {
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
}: {
|
||||
imports = with homeProfiles; [
|
||||
./defaults.nix
|
||||
./outputs.nix
|
||||
|
||||
secrets.default
|
||||
|
||||
|
|
13
home/suites/nixdesk/outputs.nix
Normal file
13
home/suites/nixdesk/outputs.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue