From 3d918078161179a23a5dea4ae24721e5cbc9980e Mon Sep 17 00:00:00 2001 From: myve Date: Thu, 6 Aug 2026 09:13:18 +0000 Subject: [PATCH] Hyprland.lua fixes --- functions/desktop | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/functions/desktop b/functions/desktop index 4d0cc41..ab871b3 100755 --- a/functions/desktop +++ b/functions/desktop @@ -552,19 +552,21 @@ case ${desktop_choice} in # Config # curl --silent --fail https://raw.githubusercontent.com/hyprwm/Hyprland/refs/heads/main/example/hyprland.lua |\ cat /usr/share/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' \ + sed -e '/local terminal/c local terminal = footclient' \ + -e '/local menu/c local menu = bemenu-run -p "" --no-overlap --tb "##285577" --hb "##285577" --tf "##eeeeee" --hf "##eeeeee" --nf "##bbbbbb"' \ > ~/.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' \ # QEMU monitor