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 # # MODULES #
# #
# Add monitor configuration to hyprland modules.hyprland = {
modules.hyprland.extraConfig = # hyprlang # Enable scripts
'' scripts = {
# See https://wiki.hyprland.org/Configuring/Monitors/ startup.enable = true;
monitor = DP-3, 1920x1080@74.973, 2560x0, 1 screenshot.enable = true;
monitor = DP-2, 2560x1440@165.00301, 0x0, 1 };
# Bind workspaces to specific monitors # Add monitor configuration to hyprland
workspace = 1, monitor:DP-2 extraConfig = # hyprlang
workspace = 2, monitor:DP-3 ''
workspace = 3, monitor:DP-2 # See https://wiki.hyprland.org/Configuring/Monitors/
workspace = 4, monitor:DP-3 monitor = DP-3, 1920x1080@74.973, 2560x0, 1
workspace = 5, monitor:DP-2 monitor = DP-2, 2560x1440@165.00301, 0x0, 1
workspace = 6, monitor:DP-3
workspace = 7, monitor:DP-2 # Bind workspaces to specific monitors
workspace = 8, monitor:DP-3 workspace = 1, monitor:DP-2
workspace = 9, monitor:DP-2 workspace = 2, monitor:DP-3
workspace = 0, 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 # # PACKAGES #
# #
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
## Tools ## Tools
# Utilities # Utilities

View file

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