i3 updates

This commit is contained in:
Miguel Palhas
2025-07-14 13:57:36 +01:00
parent d3d019c0c6
commit 4ea74bd1ab
10 changed files with 124 additions and 68 deletions
+2 -5
View File
@@ -30,7 +30,6 @@
LIBVA_DRIVER_NAME = "nvidia";
GDM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
QT_SCALE_FACTOR = 2;
};
wayland.windowManager.hyprland.settings = {
@@ -44,10 +43,6 @@
"fullscreen, class:bevy-.*"
];
# env = [
# "GDK_SCALE, 2"
# ];
render = {
explicit_sync = 2;
explicit_sync_kms = 0;
@@ -93,6 +88,8 @@
};
};
programs.kitty.settings.font_size = 14;
home = {
username = lib.mkDefault "naps62";
stateVersion = lib.mkDefault "24.05";
+20 -3
View File
@@ -1,4 +1,5 @@
{
lib,
inputs,
pkgs,
config,
@@ -23,20 +24,36 @@ in
monitor = [
# monitor, res, position, scale, transform, rotation
"HDMI-A-1, 3840x2160, 0x1620, 1.333333"
"DP-3, 3840x2160, 0x0, 1.333333"
"DP-1, 3840x2160, 0x0, 1.333333"
# 300 instead of 0 is so that 'move left' actually focuses the bottom one instead of the top one
# for some reason, that's the minimum value for which this works
"DP-2, 3840x2160, 2880x180, 1.333333, transform, 1"
];
workspace = [
"1, monitor=DP-2"
"2, monitor=DP-3"
"2, monitor=DP-1"
"3, monitor=DP-2"
"4, monitor=HDMI-A-1"
"5, monitor=HDMI-A-1"
];
};
xsession.windowManager.i3 = {
extraConfig = lib.mkAfter ''
workspace 1 output HDMI-0
workspace 2 output DP-2
workspace 3 output DP-0
'';
# config.bars = [
# {
# position = "top";
# trayOutput = "DP-0";
# statusCommand = "i3status-rs ~/.config/i3status-rust/config-default.toml";
# }
# ];
};
services.hyprpaper.settings.preload = [
(builtins.toString wallpaper1)
(builtins.toString wallpaper2)
@@ -44,7 +61,7 @@ in
];
services.hyprpaper.settings.wallpaper = [
"HDMI-A-1,${builtins.toString wallpaper1}"
"DP-3,${builtins.toString wallpaper2}"
"DP-1,${builtins.toString wallpaper2}"
"DP-2,${builtins.toString wallpaper-vertical}"
];
}