From d71498e562b79c447a04e7dcf3f0f77aa276f94b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 30 Jul 2026 04:36:15 +0300 Subject: [PATCH] chore(hyprland): comment out laptop lid binds, sync startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the desktop — no eDP-1, no touch device, so the lid switch binds and the touchdevice keyword were dead. Kept commented for the Zenbook. Startup gains song_detail_writer.sh and kdeconnect-indicator, matching the niri config. New hyprpaper wallpaper. --- .config/hypr/hyprland.conf | 52 ++++++++++++++++++++++++------------- .config/hypr/hyprpaper.conf | 2 +- 2 files changed, 35 insertions(+), 19 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b98fd3b..3ca9937 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,38 +1,41 @@ monitor=,preferred,auto,auto # monitor = eDP-1, 2880x1800@90, 0x1080, 2 +# monitor = DP-1, 2560x1440@180, 0x0, 1, bitdepth, 10, cm, srgb, sdrbrightness, 1.65, sdrsaturation, 1.0 monitor = DP-1, 2560x1440@180, 0x0, 1, bitdepth, 10 monitor = HDMI-A-1, 1920x1080@75, 2560x0, 1, bitdepth, 10 # monitor = eDP-1, disable # monitor = HDMI-A-1, disable # monitor = DP-1, disable -bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" -bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, enable" -bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false -bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false -bindl = , switch:off:Lid Switch, exec, hyprctl reload && hyprctl keyword input:touchdevice:enabled false +# bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" +# bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, enable" +# bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false +# bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false +# bindl = , switch:off:Lid Switch, exec, hyprctl reload && hyprctl keyword input:touchdevice:enabled false # bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable exec-once = hyprpm reload -n exec-once = sleep 1 && /usr/libexec/polkit-mate-authentication-agent-1 +exec-once = bash ~/.config/scripts/shared/song_detail_writer.sh exec-once = sleep 1 && waybar # exec-once = sleep 1 && eww daemon # exec-once = sleep 1 && eww open main exec-once = sleep 2 && nm-applet exec-once = sleep 2 && blueman-applet +exec-once = sleep 2 && kdeconnect-indicator exec-once = sleep 2 && hyprpaper exec-once = sleep 3 && /opt/Mullvad\ VPN/mullvad-vpn -exec-once = sleep 3 && hyprctl keyword input:touchdevice:enabled false +# exec-once = sleep 3 && hyprctl keyword input:touchdevice:enabled false exec-once = sleep 3 && swaync-client -dn exec-once = sleep 3 && wl-paste --type text --watch cliphist store # Stores only text data exec-once = sleep 3 && wl-paste --type image --watch cliphist store # Stores only image data exec-once = sleep 4 && rfkill unblock bluetooth && bluetoothctl power on +exec-once = sudo /usr/local/bin/asus-receiver-rebind # exec = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps # exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps # exec = gsettings set org.gnome.desktop.interface icon-theme 'papirus-dark' -env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps -env = QT_QPA_PLATFORMTHEME, qt6ct +env = QT_QPA_PLATFORMTHEME,gtk3 env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 env = PATH, $HOME/.cargo/bin/:$HOME/.local/bin/:$PATH @@ -46,8 +49,8 @@ $active_menu = rofi -show $menu = rofi -show drun -show-icons $menu_unsafe = mullvad-exclude rofi -show drun -show-icons $clipboard = cliphist list | rofi -dmenu -show-icons -i | cliphist decode | wl-copy -$screenshot = grim "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | grim - | wl-copy -$screenshot_with_area_selector = grim -g "$(slurp)" - | wl-copy +$screenshot = grim -t png - | tee "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | wl-copy -t image/png +$screenshot_with_area_selector = grim -t png -g "$(slurp)" - | wl-copy -t image/png $power_menu = bash ~/.config/scripts/system/power_menu.sh $browser = flatpak run io.github.ungoogled_software.ungoogled_chromium --enable-features=MiddleClickAutoscroll $browser_unsafe = mullvad-exclude flatpak run org.chromium.Chromium --incognito --enable-features=MiddleClickAutoscroll,AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only @@ -87,7 +90,7 @@ $discord = flatpak run dev.vencord.Vesktop $youtube = mullvad-exclude flatpak run io.freetubeapp.FreeTube $code = zed $mail = flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://mail.proton.me/" --class=chrome-mail.proton.me__-Default --name=chrome-mail.proton.me__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/eIpzVtL8 -$whatsapp = flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://web.whatsapp.com/" --class=chrome-web.whatsapp.com__-Default --name=chrome-web.whatsapp.com__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/aW2IMaZ8 +$whatsapp = mullvad-exclude flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://web.whatsapp.com/" --class=chrome-web.whatsapp.com__-Default --name=chrome-web.whatsapp.com__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/aW2IMaZ8 $github = flatpak run io.github.ungoogled_software.ungoogled_chromium --no-first-run --app="https://github.com/" --class=chrome-github.com__-Default --name=chrome-github.com__-Default --user-data-dir=/home/tahinli/.var/app/io.github.ungoogled_software.ungoogled_chromium/data/web-app-hub/profiles/FCF18Wmt workspace = 100, on-created-empty: $code @@ -127,11 +130,11 @@ binds { allow_workspace_cycles = true } bindr = $mainMod, Tab, bringactivetotop -binde = $mainMod, Tab, cyclenext +bind = $mainMod, Tab, cyclenext bind = Alt, Tab, workspace, previous_per_monitor bind = $mainMod SHIFT, Tab, split:swapactiveworkspaces, $monitor_left $monitor_right bind = $mainMod, P, pseudo, # dwindle -bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, J, layoutmsg, togglesplit # dwindle bind = $mainMod, F, togglefloating, bind = $mainMod, Q, focusmonitor, $monitor_left bind = $mainMod, E, focusmonitor, $monitor_right @@ -143,6 +146,11 @@ bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d +bind = $mainMod CTRL, left, swapwindow, l +bind = $mainMod CTRL, right, swapwindow, r +bind = $mainMod CTRL, up, swapwindow, u +bind = $mainMod CTRL, down, swapwindow, d + bind = $mainMod, 1, split:workspace, 1 bind = $mainMod, 2, split:workspace, 2 bind = $mainMod, 3, split:workspace, 3 @@ -200,6 +208,7 @@ windowrule = match:class .*dev.heppen.webapps.*, tile on # Gaming: enable tearing for fullscreen games windowrule = match:fullscreen 1, immediate on +windowrule = match:class dev.zed.Zed, immediate off general { gaps_in = 3 @@ -218,7 +227,6 @@ general { } render { - cm_fs_passthrough = 0 direct_scanout = 0 } @@ -229,7 +237,7 @@ decoration { inactive_opacity = 1.0 blur { - enabled = true + enabled = false size = 3 passes = 1 @@ -251,7 +259,6 @@ animations { } dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } @@ -266,6 +273,15 @@ misc { mouse_move_focuses_monitor = false } +debug { + # Logging was enabled 2026-04-24 for the hard-freeze hunt. That turned out to be a + # Hyprland bug, fixed upstream — closed 2026-07-29, so back to the default (logs off). + # hyprland.log was growing ~1.2MB/hr into /run/user/1000 (tmpfs = RAM). + # Flip to false again if you ever need to capture compositor state. + disable_logs = true + enable_stdout_logs = false +} + # =================================== # Power Management # =================================== @@ -283,6 +299,7 @@ input { follow_mouse = 0 mouse_refocus = false + accel_profile = flat sensitivity = 0 # -1.0 - 1.0, 0 means no modification. @@ -295,6 +312,5 @@ input { # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 - sensitivity = -0.5 + sensitivity = 0 } -exec-once = sudo /usr/local/bin/asus-receiver-rebind diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index fee07f4..24cd757 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -2,6 +2,6 @@ splash = false wallpaper { monitor = - path = /home/tahinli/Pictures/Wallpapers/franck-ridel-VXZy1mljRfk-unsplash.jpg + path = /home/tahinli/Pictures/Wallpapers/download_up_up.jpeg fit_mode = cover }