Fix hyprland conf location.

This commit is contained in:
myve 2026-08-06 08:55:55 +00:00
commit 31019e52cf

View file

@ -563,13 +563,13 @@ case ${desktop_choice} in
-e 's/bind = $mainMod, C, killactive/bind = $mainMod SHIFT, Q, killactive/' \ -e 's/bind = $mainMod, C, killactive/bind = $mainMod SHIFT, Q, killactive/' \
-e '/$mainMod =/c $mainMod = ALT' \ -e '/$mainMod =/c $mainMod = ALT' \
-e '/RETURN/a bind = SUPER, L, exec, swaylock -e -f -c 000000' \ -e '/RETURN/a bind = SUPER, L, exec, swaylock -e -f -c 000000' \
> ~/.config/hypr/hyprland.conf > ~/.config/hypr/hyprland.lua
# -e '/Autostart/i exec-once = uwsm app -- foot --server' \ # -e '/Autostart/i exec-once = uwsm app -- foot --server' \
# QEMU monitor # QEMU monitor
if ls -l /dev/disk/* | grep -q 'VBOX\|virtio\|QEMU' if ls -l /dev/disk/* | grep -q 'VBOX\|virtio\|QEMU'
then then
sed -i "/^monitor/c monitor = $(hyprctl monitors all | grep "^Monitor" | awk '{print $2}'), 1920x1080@60, 0x0, 1.5" ~/.config/hypr/hyprland.conf sed -i "/^monitor/c monitor = $(hyprctl monitors all | grep "^Monitor" | awk '{print $2}'), 1920x1080@60, 0x0, 1.5" ~/.config/hypr/hyprland.lua
fi fi
# Waybar # Waybar