diff --git a/desktopenvs/hyprlua/hypr/hyprland.lua b/desktopenvs/hyprlua/hypr/hyprland.lua index 40a1a1d..3ccb62b 100644 --- a/desktopenvs/hyprlua/hypr/hyprland.lua +++ b/desktopenvs/hyprlua/hypr/hyprland.lua @@ -1,7 +1,7 @@ -- Hyprland Lua config — https://wiki.hypr.land/Configuring/Start/ -- Device-specific files live in ~/.config/hypr/usr/ (deployed from hypr/usr/). -require("usr.monitors") +require("monitors") require("usr.envvars") require("usr.input") require("usr.binds") diff --git a/desktopenvs/hyprlua/hypr/usr/binds.lua b/desktopenvs/hyprlua/hypr/usr/binds.lua index 09c38b5..0567274 100644 --- a/desktopenvs/hyprlua/hypr/usr/binds.lua +++ b/desktopenvs/hyprlua/hypr/usr/binds.lua @@ -58,7 +58,7 @@ hl.bind(mainMod .. " + ALT + F", hl.dsp.exec_cmd("wofi-calc")) hl.bind(mainMod .. " + S", hl.dsp.exec_cmd("[tag +mixer] pavucontrol")) hl.bind(mainMod .. " + U", hl.dsp.exec_cmd("[tag +centered-L] kitty btop")) hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/wallpaper-picker ~/Pictures")) -hl.bind(mainMod .. " + SHIFT + M", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/monitor-manager")) +hl.bind(mainMod .. " + SHIFT + M", hl.dsp.exec_cmd("[tag +centered-L] kitty -e hyprmoncfg")) hl.bind(mainMod .. " + CTRL + R", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/amssh")) hl.bind(mainMod .. " + F1", hl.dsp.exec_cmd("[tag +centered] kitty ~/.config/scripts/helpmenu.sh")) hl.bind(mainMod .. " + CTRL + T", hl.dsp.exec_cmd("[tag +centered-S] kitty bash ~/.config/scripts/timer-pick")) diff --git a/desktopenvs/hyprlua/hypr/usr/monitors.lua b/desktopenvs/hyprlua/hypr/usr/monitors.lua index 38a74ab..e6f0cd2 100644 --- a/desktopenvs/hyprlua/hypr/usr/monitors.lua +++ b/desktopenvs/hyprlua/hypr/usr/monitors.lua @@ -1,8 +1,24 @@ -- generated by monitor-manager -- do not edit by hand hl.monitor({ - output = "eDP-1", - mode = "1920x1200@60", + output = "DP-1", + mode = "1920x1080@60", + position = "3816x0", + scale = 0.75, + transform = 1, +}) + +hl.monitor({ + output = "DP-3", + mode = "1280x1024@76", position = "0x0", + scale = 1.0, + transform = 0, +}) + +hl.monitor({ + output = "HDMI-A-1", + mode = "3840x2160@60", + position = "1280x0", scale = 1.5, transform = 0, }) diff --git a/setup/modules/Desktop-Environments/hyprlua.sh b/setup/modules/Desktop-Environments/hyprlua.sh index 5d44571..7817f84 100755 --- a/setup/modules/Desktop-Environments/hyprlua.sh +++ b/setup/modules/Desktop-Environments/hyprlua.sh @@ -42,7 +42,7 @@ rustup default stable yay -Syu --answerdiff None --answerclean All --noconfirm --needed \ hyprland-workspaces vicinae-bin bluetuith wvkbd iwmenu pinta \ walker-bin ulauncher bzmenu udiskie \ - wofi-calc bri chamel + wofi-calc bri chamel hyprmoncfg # 5. EWW bar selection and compilation log "Setting up EWW bar..." @@ -90,6 +90,7 @@ log "Enabling Bluetooth and wireless services..." sudo systemctl enable bluez sudo systemctl enable bluetooth.service sudo systemctl enable iwd.service +systemctl --user enable --now hyprmoncfgd # 9. Hyprland plugins — must be run from inside a live Hyprland session # Run manually after first login: