chore: update desktop and laptop with new hyprland config

This commit is contained in:
Alexandre Cavalheiro 2024-09-22 01:30:48 -03:00
parent cc8717c4ae
commit cadab2f9aa
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
3 changed files with 52 additions and 34 deletions

View file

@ -79,23 +79,31 @@
# MODULES #
#
# Add monitor configuration to hyprland
modules.hyprland.extraConfig = # hyprlang
''
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-3, 1920x1080@74.973, 2560x0, 1
monitor = DP-2, 2560x1440@165.00301, 0x0, 1
modules.hyprland = {
# Enable scripts
scripts = {
startup.enable = true;
screenshot.enable = true;
};
# Bind workspaces to specific monitors
workspace = 1, monitor:DP-2
workspace = 2, monitor:DP-3
workspace = 3, monitor:DP-2
workspace = 4, monitor:DP-3
workspace = 5, monitor:DP-2
workspace = 6, monitor:DP-3
workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-3
workspace = 9, monitor:DP-2
workspace = 0, monitor:DP-3
'';
# Add monitor configuration to hyprland
extraConfig = # hyprlang
''
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = DP-3, 1920x1080@74.973, 2560x0, 1
monitor = DP-2, 2560x1440@165.00301, 0x0, 1
# Bind workspaces to specific monitors
workspace = 1, monitor:DP-2
workspace = 2, monitor:DP-3
workspace = 3, monitor:DP-2
workspace = 4, monitor:DP-3
workspace = 5, monitor:DP-2
workspace = 6, monitor:DP-3
workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-3
workspace = 9, monitor:DP-2
workspace = 0, monitor:DP-3
'';
};
}

View file

@ -142,6 +142,7 @@
#
# PACKAGES #
#
environment.systemPackages = with pkgs; [
## Tools
# Utilities

View file

@ -68,21 +68,30 @@
#
# Add monitor configuration to hyprland
modules.hyprland.extraConfig = # hyprlang
''
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = eDP-1, 1920x1080@60.01, 0x0, 1
modules.hyprland = {
# Enable scripts
scripts = {
startup.enable = true;
screenshot.enable = true;
};
# Bind workspaces to specific monitors
workspace = 1, monitor:eDP-1
workspace = 2, monitor:eDP-1
workspace = 3, monitor:eDP-1
workspace = 4, monitor:eDP-1
workspace = 5, monitor:eDP-1
workspace = 6, monitor:eDP-1
workspace = 7, monitor:eDP-1
workspace = 8, monitor:eDP-1
workspace = 9, monitor:eDP-1
workspace = 0, monitor:eDP-1
'';
# Add monitor configuration to hyprland
extraConfig = # hyprlang
''
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = eDP-1, 1920x1080@60.01, 0x0, 1
# Bind workspaces to specific monitors
workspace = 1, monitor:eDP-1
workspace = 2, monitor:eDP-1
workspace = 3, monitor:eDP-1
workspace = 4, monitor:eDP-1
workspace = 5, monitor:eDP-1
workspace = 6, monitor:eDP-1
workspace = 7, monitor:eDP-1
workspace = 8, monitor:eDP-1
workspace = 9, monitor:eDP-1
workspace = 0, monitor:eDP-1
'';
};
}