sway optimisations and fixes
This commit is contained in:
parent
684dbf81ab
commit
7637673036
1 changed files with 29 additions and 5 deletions
34
home.nix
34
home.nix
|
@ -431,18 +431,21 @@
|
|||
wayland.windowManager = {
|
||||
sway = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
smart_gaps inverse_outer
|
||||
'';
|
||||
config = {
|
||||
gaps = {
|
||||
inner = 50;
|
||||
vertical = 100;
|
||||
horizontal = 600;
|
||||
smartGaps = true;
|
||||
# smartGaps = true;
|
||||
smartBorders = "on";
|
||||
};
|
||||
input = {
|
||||
"type:keyboard" = {
|
||||
xkb_variant = "eu";
|
||||
xkb_options = "compose:ralt";
|
||||
xkb_layout = "eu";
|
||||
xkb_options = "compose:rwin";
|
||||
};
|
||||
"type:touchpad" = {
|
||||
tap = "enabled";
|
||||
|
@ -468,14 +471,15 @@
|
|||
output = {
|
||||
DP-1 = {
|
||||
resolution = "3840x2160@30Hz";
|
||||
position = "1920 0";
|
||||
position = "1280 0";
|
||||
# background = "/home/muhh/Sync/Backgrounds/wald.jpg fill";
|
||||
scale = "1.0";
|
||||
scale = "1.25";
|
||||
};
|
||||
HDMI-A-1 = {
|
||||
resolution = "1920x1080@60.000Hz";
|
||||
transform = "180";
|
||||
position = "0 0";
|
||||
scale = "1.5";
|
||||
# background = "/home/muhh/Sync/Backgrounds/pfuetze.jpg fill";
|
||||
};
|
||||
};
|
||||
|
@ -488,9 +492,29 @@
|
|||
window = {
|
||||
titlebar = false;
|
||||
};
|
||||
# workspaceOutputAssign = [
|
||||
# {
|
||||
# workspace = "2";
|
||||
# output = "DP-1";
|
||||
# }
|
||||
# ];
|
||||
workspaceOutputAssign =
|
||||
map (x: {
|
||||
workspace = x;
|
||||
output = "DP-1";
|
||||
}) ["1" "2" "3" "4" "5" "6" "7"]
|
||||
++ map (x: {
|
||||
workspace = x;
|
||||
output = "HDMI-A-1";
|
||||
}) ["8" "9" "10"];
|
||||
};
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
};
|
||||
xdg = {
|
||||
enable = true;
|
||||
mimeApps.enable = true;
|
||||
};
|
||||
|
||||
# leave things below alone.
|
||||
home.stateVersion = "23.05";
|
||||
|
|
Loading…
Reference in a new issue