Hyprland.lua fixes

This commit is contained in:
myve 2026-08-06 09:13:18 +00:00
commit 3d91807816

View file

@ -552,19 +552,21 @@ case ${desktop_choice} in
# Config # Config
# curl --silent --fail https://raw.githubusercontent.com/hyprwm/Hyprland/refs/heads/main/example/hyprland.lua |\ # curl --silent --fail https://raw.githubusercontent.com/hyprwm/Hyprland/refs/heads/main/example/hyprland.lua |\
cat /usr/share/hypr/hyprland.lua |\ cat /usr/share/hypr/hyprland.lua |\
sed -e '/Autostart/i exec-once = /usr/lib/polkit-kde-authentication-agent-1' \ sed -e '/local terminal/c local terminal = footclient' \
-e '/Autostart/i exec-once = waybar -c ~/.config/waybar/waybar.conf' \ -e '/local menu/c local menu = bemenu-run -p "" --no-overlap --tb "##285577" --hb "##285577" --tf "##eeeeee" --hf "##eeeeee" --nf "##bbbbbb"' \
-e '/Autostart/i exec-once = ~/.config/hypr/scripts/sleep.sh' \
-e '/^$terminal =/c $terminal = footclient' \
-e '/gaps_in =/c gaps_in = 0' \
-e '/gaps_out =/c gaps_out = 0' \
-e '/^$menu =/c $menu = bemenu-run -p "" --no-overlap --tb "##285577" --hb "##285577" --tf "##eeeeee" --hf "##eeeeee" --nf "##bbbbbb"' \
-e 's/bind = $mainMod, R, exec, $menu/bind = $mainMod, D, exec, $menu/' \
-e 's/bind = $mainMod, Q, exec, $terminal/bind = $mainMod, RETURN, exec, $terminal/' \
-e 's/bind = $mainMod, C, killactive/bind = $mainMod SHIFT, Q, killactive/' \
-e '/$mainMod =/c $mainMod = ALT' \
-e '/RETURN/a bind = SUPER, L, exec, swaylock -e -f -c 000000' \
> ~/.config/hypr/hyprland.lua > ~/.config/hypr/hyprland.lua
# sed -e '/Autostart/i exec-once = /usr/lib/polkit-kde-authentication-agent-1' \
# -e '/Autostart/i exec-once = waybar -c ~/.config/waybar/waybar.conf' \
# -e '/Autostart/i exec-once = ~/.config/hypr/scripts/sleep.sh' \
# -e '/^$terminal =/c $terminal = footclient' \
# -e '/gaps_in =/c gaps_in = 0' \
# -e '/gaps_out =/c gaps_out = 0' \
# -e '/^$menu =/c $menu = bemenu-run -p "" --no-overlap --tb "##285577" --hb "##285577" --tf "##eeeeee" --hf "##eeeeee" --nf "##bbbbbb"' \
# -e 's/bind = $mainMod, R, exec, $menu/bind = $mainMod, D, exec, $menu/' \
# -e 's/bind = $mainMod, Q, exec, $terminal/bind = $mainMod, RETURN, exec, $terminal/' \
# -e 's/bind = $mainMod, C, killactive/bind = $mainMod SHIFT, Q, killactive/' \
# -e '/$mainMod =/c $mainMod = ALT' \
# -e '/RETURN/a bind = SUPER, L, exec, swaylock -e -f -c 000000' \
# -e '/Autostart/i exec-once = uwsm app -- foot --server' \ # -e '/Autostart/i exec-once = uwsm app -- foot --server' \
# QEMU monitor # QEMU monitor