Comment out laptop lid binds, sync startup
Browse files at this commitd71498e562b79c447a04e7dcf3f0f77aa276f94bParent: efb4b86- chore
- comment out laptop lid binds, sync startup
2 changed files +35 -19
- .config/hypr/hyprland.conf +34 -18
- .config/hypr/hyprpaper.conf +1 -1
.config/hypr/hyprland.confmodified+34 -18
| @@ -1,38 +1,41 @@ | |||
| 1 | monitor=,preferred,auto,auto | 1 | monitor=,preferred,auto,auto |
| 2 | # monitor = eDP-1, 2880x1800@90, 0x1080, 2 | 2 | # monitor = eDP-1, 2880x1800@90, 0x1080, 2 |
| 3 | +# monitor = DP-1, 2560x1440@180, 0x0, 1, bitdepth, 10, cm, srgb, sdrbrightness, 1.65, sdrsaturation, 1.0 | ||
| 3 | monitor = DP-1, 2560x1440@180, 0x0, 1, bitdepth, 10 | 4 | monitor = DP-1, 2560x1440@180, 0x0, 1, bitdepth, 10 |
| 4 | monitor = HDMI-A-1, 1920x1080@75, 2560x0, 1, bitdepth, 10 | 5 | monitor = HDMI-A-1, 1920x1080@75, 2560x0, 1, bitdepth, 10 |
| 5 | # monitor = eDP-1, disable | 6 | # monitor = eDP-1, disable |
| 6 | # monitor = HDMI-A-1, disable | 7 | # monitor = HDMI-A-1, disable |
| 7 | # monitor = DP-1, disable | 8 | # monitor = DP-1, disable |
| 8 | -bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" | 9 | +# bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" |
| 9 | -bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, enable" | 10 | +# bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, enable" |
| 10 | -bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false | 11 | +# bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false |
| 11 | -bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false | 12 | +# bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false |
| 12 | -bindl = , switch:off:Lid Switch, exec, hyprctl reload && hyprctl keyword input:touchdevice:enabled false | 13 | +# bindl = , switch:off:Lid Switch, exec, hyprctl reload && hyprctl keyword input:touchdevice:enabled false |
| 13 | # bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable | 14 | # bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable |
| 14 | 15 | ||
| 15 | exec-once = hyprpm reload -n | 16 | exec-once = hyprpm reload -n |
| 16 | exec-once = sleep 1 && /usr/libexec/polkit-mate-authentication-agent-1 | 17 | exec-once = sleep 1 && /usr/libexec/polkit-mate-authentication-agent-1 |
| 18 | +exec-once = bash ~/.config/scripts/shared/song_detail_writer.sh | ||
| 17 | exec-once = sleep 1 && waybar | 19 | exec-once = sleep 1 && waybar |
| 18 | # exec-once = sleep 1 && eww daemon | 20 | # exec-once = sleep 1 && eww daemon |
| 19 | # exec-once = sleep 1 && eww open main | 21 | # exec-once = sleep 1 && eww open main |
| 20 | exec-once = sleep 2 && nm-applet | 22 | exec-once = sleep 2 && nm-applet |
| 21 | exec-once = sleep 2 && blueman-applet | 23 | exec-once = sleep 2 && blueman-applet |
| 24 | +exec-once = sleep 2 && kdeconnect-indicator | ||
| 22 | exec-once = sleep 2 && hyprpaper | 25 | exec-once = sleep 2 && hyprpaper |
| 23 | exec-once = sleep 3 && /opt/Mullvad\ VPN/mullvad-vpn | 26 | exec-once = sleep 3 && /opt/Mullvad\ VPN/mullvad-vpn |
| 24 | -exec-once = sleep 3 && hyprctl keyword input:touchdevice:enabled false | 27 | +# exec-once = sleep 3 && hyprctl keyword input:touchdevice:enabled false |
| 25 | exec-once = sleep 3 && swaync-client -dn | 28 | exec-once = sleep 3 && swaync-client -dn |
| 26 | exec-once = sleep 3 && wl-paste --type text --watch cliphist store # Stores only text data | 29 | exec-once = sleep 3 && wl-paste --type text --watch cliphist store # Stores only text data |
| 27 | exec-once = sleep 3 && wl-paste --type image --watch cliphist store # Stores only image data | 30 | exec-once = sleep 3 && wl-paste --type image --watch cliphist store # Stores only image data |
| 28 | exec-once = sleep 4 && rfkill unblock bluetooth && bluetoothctl power on | 31 | exec-once = sleep 4 && rfkill unblock bluetooth && bluetoothctl power on |
| 32 | +exec-once = sudo /usr/local/bin/asus-receiver-rebind | ||
| 29 | 33 | ||
| 30 | # exec = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps | 34 | # exec = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps |
| 31 | # exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps | 35 | # exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps |
| 32 | # exec = gsettings set org.gnome.desktop.interface icon-theme 'papirus-dark' | 36 | # exec = gsettings set org.gnome.desktop.interface icon-theme 'papirus-dark' |
| 33 | 37 | ||
| 34 | -env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps | 38 | +env = QT_QPA_PLATFORMTHEME,gtk3 |
| 35 | -env = QT_QPA_PLATFORMTHEME, qt6ct | ||
| 36 | env = XCURSOR_SIZE,24 | 39 | env = XCURSOR_SIZE,24 |
| 37 | env = HYPRCURSOR_SIZE,24 | 40 | env = HYPRCURSOR_SIZE,24 |
| 38 | env = PATH, $HOME/.cargo/bin/:$HOME/.local/bin/:$PATH | 41 | env = PATH, $HOME/.cargo/bin/:$HOME/.local/bin/:$PATH |
| @@ -46,8 +49,8 @@ $active_menu = rofi -show | |||
| 46 | $menu = rofi -show drun -show-icons | 49 | $menu = rofi -show drun -show-icons |
| 47 | $menu_unsafe = mullvad-exclude rofi -show drun -show-icons | 50 | $menu_unsafe = mullvad-exclude rofi -show drun -show-icons |
| 48 | $clipboard = cliphist list | rofi -dmenu -show-icons -i | cliphist decode | wl-copy | 51 | $clipboard = cliphist list | rofi -dmenu -show-icons -i | cliphist decode | wl-copy |
| 49 | -$screenshot = grim "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | grim - | wl-copy | 52 | +$screenshot = grim -t png - | tee "$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png" | wl-copy -t image/png |
| 50 | -$screenshot_with_area_selector = grim -g "$(slurp)" - | wl-copy | 53 | +$screenshot_with_area_selector = grim -t png -g "$(slurp)" - | wl-copy -t image/png |
| 51 | $power_menu = bash ~/.config/scripts/system/power_menu.sh | 54 | $power_menu = bash ~/.config/scripts/system/power_menu.sh |
| 52 | $browser = flatpak run io.github.ungoogled_software.ungoogled_chromium --enable-features=MiddleClickAutoscroll | 55 | $browser = flatpak run io.github.ungoogled_software.ungoogled_chromium --enable-features=MiddleClickAutoscroll |
| 53 | $browser_unsafe = mullvad-exclude flatpak run org.chromium.Chromium --incognito --enable-features=MiddleClickAutoscroll,AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only | 56 | $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 | |||
| 87 | $youtube = mullvad-exclude flatpak run io.freetubeapp.FreeTube | 90 | $youtube = mullvad-exclude flatpak run io.freetubeapp.FreeTube |
| 88 | $code = zed | 91 | $code = zed |
| 89 | $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 | 92 | $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 |
| 90 | -$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 | 93 | +$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 |
| 91 | $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 | 94 | $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 |
| 92 | 95 | ||
| 93 | workspace = 100, on-created-empty: $code | 96 | workspace = 100, on-created-empty: $code |
| @@ -127,11 +130,11 @@ binds { | |||
| 127 | allow_workspace_cycles = true | 130 | allow_workspace_cycles = true |
| 128 | } | 131 | } |
| 129 | bindr = $mainMod, Tab, bringactivetotop | 132 | bindr = $mainMod, Tab, bringactivetotop |
| 130 | -binde = $mainMod, Tab, cyclenext | 133 | +bind = $mainMod, Tab, cyclenext |
| 131 | bind = Alt, Tab, workspace, previous_per_monitor | 134 | bind = Alt, Tab, workspace, previous_per_monitor |
| 132 | bind = $mainMod SHIFT, Tab, split:swapactiveworkspaces, $monitor_left $monitor_right | 135 | bind = $mainMod SHIFT, Tab, split:swapactiveworkspaces, $monitor_left $monitor_right |
| 133 | bind = $mainMod, P, pseudo, # dwindle | 136 | bind = $mainMod, P, pseudo, # dwindle |
| 134 | -bind = $mainMod, J, togglesplit, # dwindle | 137 | +bind = $mainMod, J, layoutmsg, togglesplit # dwindle |
| 135 | bind = $mainMod, F, togglefloating, | 138 | bind = $mainMod, F, togglefloating, |
| 136 | bind = $mainMod, Q, focusmonitor, $monitor_left | 139 | bind = $mainMod, Q, focusmonitor, $monitor_left |
| 137 | bind = $mainMod, E, focusmonitor, $monitor_right | 140 | bind = $mainMod, E, focusmonitor, $monitor_right |
| @@ -143,6 +146,11 @@ bind = $mainMod, right, movefocus, r | |||
| 143 | bind = $mainMod, up, movefocus, u | 146 | bind = $mainMod, up, movefocus, u |
| 144 | bind = $mainMod, down, movefocus, d | 147 | bind = $mainMod, down, movefocus, d |
| 145 | 148 | ||
| 149 | +bind = $mainMod CTRL, left, swapwindow, l | ||
| 150 | +bind = $mainMod CTRL, right, swapwindow, r | ||
| 151 | +bind = $mainMod CTRL, up, swapwindow, u | ||
| 152 | +bind = $mainMod CTRL, down, swapwindow, d | ||
| 153 | + | ||
| 146 | bind = $mainMod, 1, split:workspace, 1 | 154 | bind = $mainMod, 1, split:workspace, 1 |
| 147 | bind = $mainMod, 2, split:workspace, 2 | 155 | bind = $mainMod, 2, split:workspace, 2 |
| 148 | bind = $mainMod, 3, split:workspace, 3 | 156 | bind = $mainMod, 3, split:workspace, 3 |
| @@ -200,6 +208,7 @@ windowrule = match:class .*dev.heppen.webapps.*, tile on | |||
| 200 | 208 | ||
| 201 | # Gaming: enable tearing for fullscreen games | 209 | # Gaming: enable tearing for fullscreen games |
| 202 | windowrule = match:fullscreen 1, immediate on | 210 | windowrule = match:fullscreen 1, immediate on |
| 211 | +windowrule = match:class dev.zed.Zed, immediate off | ||
| 203 | 212 | ||
| 204 | general { | 213 | general { |
| 205 | gaps_in = 3 | 214 | gaps_in = 3 |
| @@ -218,7 +227,6 @@ general { | |||
| 218 | } | 227 | } |
| 219 | 228 | ||
| 220 | render { | 229 | render { |
| 221 | - cm_fs_passthrough = 0 | ||
| 222 | direct_scanout = 0 | 230 | direct_scanout = 0 |
| 223 | } | 231 | } |
| 224 | 232 | ||
| @@ -229,7 +237,7 @@ decoration { | |||
| 229 | inactive_opacity = 1.0 | 237 | inactive_opacity = 1.0 |
| 230 | 238 | ||
| 231 | blur { | 239 | blur { |
| 232 | - enabled = true | 240 | + enabled = false |
| 233 | size = 3 | 241 | size = 3 |
| 234 | passes = 1 | 242 | passes = 1 |
| 235 | 243 | ||
| @@ -251,7 +259,6 @@ animations { | |||
| 251 | } | 259 | } |
| 252 | 260 | ||
| 253 | dwindle { | 261 | dwindle { |
| 254 | - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below | ||
| 255 | preserve_split = true # You probably want this | 262 | preserve_split = true # You probably want this |
| 256 | } | 263 | } |
| 257 | 264 | ||
| @@ -266,6 +273,15 @@ misc { | |||
| 266 | mouse_move_focuses_monitor = false | 273 | mouse_move_focuses_monitor = false |
| 267 | } | 274 | } |
| 268 | 275 | ||
| 276 | +debug { | ||
| 277 | + # Logging was enabled 2026-04-24 for the hard-freeze hunt. That turned out to be a | ||
| 278 | + # Hyprland bug, fixed upstream — closed 2026-07-29, so back to the default (logs off). | ||
| 279 | + # hyprland.log was growing ~1.2MB/hr into /run/user/1000 (tmpfs = RAM). | ||
| 280 | + # Flip to false again if you ever need to capture compositor state. | ||
| 281 | + disable_logs = true | ||
| 282 | + enable_stdout_logs = false | ||
| 283 | +} | ||
| 284 | + | ||
| 269 | # =================================== | 285 | # =================================== |
| 270 | # Power Management | 286 | # Power Management |
| 271 | # =================================== | 287 | # =================================== |
| @@ -283,6 +299,7 @@ input { | |||
| 283 | 299 | ||
| 284 | follow_mouse = 0 | 300 | follow_mouse = 0 |
| 285 | mouse_refocus = false | 301 | mouse_refocus = false |
| 302 | + accel_profile = flat | ||
| 286 | 303 | ||
| 287 | sensitivity = 0 # -1.0 - 1.0, 0 means no modification. | 304 | sensitivity = 0 # -1.0 - 1.0, 0 means no modification. |
| 288 | 305 | ||
| @@ -295,6 +312,5 @@ input { | |||
| 295 | # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more | 312 | # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more |
| 296 | device { | 313 | device { |
| 297 | name = epic-mouse-v1 | 314 | name = epic-mouse-v1 |
| 298 | - sensitivity = -0.5 | 315 | + sensitivity = 0 |
| 299 | } | 316 | } |
| 300 | -exec-once = sudo /usr/local/bin/asus-receiver-rebind | ||
.config/hypr/hyprpaper.confmodified+1 -1
| @@ -2,6 +2,6 @@ splash = false | |||
| 2 | 2 | ||
| 3 | wallpaper { | 3 | wallpaper { |
| 4 | monitor = | 4 | monitor = |
| 5 | - path = /home/tahinli/Pictures/Wallpapers/franck-ridel-VXZy1mljRfk-unsplash.jpg | 5 | + path = /home/tahinli/Pictures/Wallpapers/download_up_up.jpeg |
| 6 | fit_mode = cover | 6 | fit_mode = cover |
| 7 | } | 7 | } |