screw the monitor manager script, i'm using an off-the-shelf solution

main
Amir Alexander Abdelbaki 2026-06-24 18:50:55 +02:00
parent ce32d645e1
commit bc564f9b83
4 changed files with 22 additions and 5 deletions

View File

@ -1,7 +1,7 @@
-- Hyprland Lua config — https://wiki.hypr.land/Configuring/Start/ -- Hyprland Lua config — https://wiki.hypr.land/Configuring/Start/
-- Device-specific files live in ~/.config/hypr/usr/ (deployed from hypr/usr/). -- Device-specific files live in ~/.config/hypr/usr/ (deployed from hypr/usr/).
require("usr.monitors") require("monitors")
require("usr.envvars") require("usr.envvars")
require("usr.input") require("usr.input")
require("usr.binds") require("usr.binds")

View File

@ -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 .. " + S", hl.dsp.exec_cmd("[tag +mixer] pavucontrol"))
hl.bind(mainMod .. " + U", hl.dsp.exec_cmd("[tag +centered-L] kitty btop")) 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 .. " + 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 .. " + 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 .. " + 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")) hl.bind(mainMod .. " + CTRL + T", hl.dsp.exec_cmd("[tag +centered-S] kitty bash ~/.config/scripts/timer-pick"))

View File

@ -1,8 +1,24 @@
-- generated by monitor-manager -- do not edit by hand -- generated by monitor-manager -- do not edit by hand
hl.monitor({ hl.monitor({
output = "eDP-1", output = "DP-1",
mode = "1920x1200@60", mode = "1920x1080@60",
position = "3816x0",
scale = 0.75,
transform = 1,
})
hl.monitor({
output = "DP-3",
mode = "1280x1024@76",
position = "0x0", position = "0x0",
scale = 1.0,
transform = 0,
})
hl.monitor({
output = "HDMI-A-1",
mode = "3840x2160@60",
position = "1280x0",
scale = 1.5, scale = 1.5,
transform = 0, transform = 0,
}) })

View File

@ -42,7 +42,7 @@ rustup default stable
yay -Syu --answerdiff None --answerclean All --noconfirm --needed \ yay -Syu --answerdiff None --answerclean All --noconfirm --needed \
hyprland-workspaces vicinae-bin bluetuith wvkbd iwmenu pinta \ hyprland-workspaces vicinae-bin bluetuith wvkbd iwmenu pinta \
walker-bin ulauncher bzmenu udiskie \ walker-bin ulauncher bzmenu udiskie \
wofi-calc bri chamel wofi-calc bri chamel hyprmoncfg
# 5. EWW bar selection and compilation # 5. EWW bar selection and compilation
log "Setting up EWW bar..." log "Setting up EWW bar..."
@ -90,6 +90,7 @@ log "Enabling Bluetooth and wireless services..."
sudo systemctl enable bluez sudo systemctl enable bluez
sudo systemctl enable bluetooth.service sudo systemctl enable bluetooth.service
sudo systemctl enable iwd.service sudo systemctl enable iwd.service
systemctl --user enable --now hyprmoncfgd
# 9. Hyprland plugins — must be run from inside a live Hyprland session # 9. Hyprland plugins — must be run from inside a live Hyprland session
# Run manually after first login: # Run manually after first login: