Closed tvlpirb closed 1 year ago
I've tried the patch but the behaviour is the same, upon startup I need to save the file for MOD + B to work, interestingly, MOD + Shift + B does work
[LOG] Instance Signature: 91a565c7b0957968d686fccf8f3a5166b9c3fec9_1679088047
[LOG] Hyprland PID: 677330
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: voodoo
[LOG] Release: 6.2.6-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Mon, 13 Mar 2023 17:02:08 +0000
[LOG] GPU information:
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev d1) (prog-if 00 [VGA controller])
[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: h
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 59.99µs. Estimated average calc time: 0.15µs.
[LOG] Creating the ConfigManager!
[LOG] Creating the CHyprError!
[LOG] [hookSystem] New hook event registered: focusedMon
[LOG] [hookSystem] New hook event registered: preRender
[LOG] Creating the LayoutManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 42.95µs. Estimated average calc time: 0.15µs.
[LOG] Registered dynamic var "$term" -> kitty
[LOG] Registered dynamic var "$file" -> thunar
[LOG] Registered dynamic var "$browser" -> firefox
[LOG] Registered dynamic var "$browser-p" -> firefox -p
[LOG] Registered dynamic var "$altbrowser" -> chromium
[LOG] Registered dynamic var "$wallpaper" -> ~/Pictures/wallpapers/wallpapers/landscapes/evening-sky.png
[LOG] Registered dynamic var "$editor" -> emacs
[LOG] Registered dynamic var "$chat" -> discord
[LOG] Registered dynamic var "$menu" -> wofi --show=drun --lines=10 --prompt="Search" --allow-images --allow-markup -i
[LOG] Registered dynamic var "$lock" -> sway_lock.sh
[LOG] Registered dynamic var "$ocrscreenshot" -> grim -g "$(slurp)" - | tesseract stdin stdout -l eng | wl-copy
[LOG] Registered dynamic var "$screenrecord" -> toggle-screen-recorder.sh
[LOG] Registered dynamic var "$schoolfolder" -> thunar ~/Documents/CMU/Spring23
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 41.76µs. Estimated average calc time: 0.15µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Creating the ThreadManager!
[LOG] Hypr socket started at /tmp/hypr/91a565c7b0957968d686fccf8f3a5166b9c3fec9_1679088047/.socket.sock
[LOG] Creating the InputManager!
[LOG] [hookSystem] New hook event registered: keyboardFocus
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 3.2 Mesa 22.3.6
[LOG] Vendor: AMD
[LOG] Renderer: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.2.6-arch1-1)
[LOG] Supported extensions size: 148
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner 1d224ca0: 1d224ce0 -> 1b25eee0 (owner: XWayland Manager)
[LOG] Registered signal for owner 1d224ca0: 1d224cf0 -> 1b25eec0 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :0
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] FractionalScaleManager started successfully!
[LOG] TextInputV1Manager started successfully!
[LOG] Creating the SessionLockManager!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Creating the HyprNotificationOverlay!
[LOG] Creating the PluginSystem!
[LOG] Hyprland init finished.
[LOG] Registered signal for owner 1c8df340: 1c8df368 -> 1b25edc0 (owner: Backend)
[LOG] Registered signal for owner 1d220090: 1d2200e0 -> 1b25ed60 (owner: XDG Shell)
[LOG] Registered signal for owner 1d220160: 1d220178 -> 1b25ed20 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220188 -> 1b25ed00 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220198 -> 1b25ece0 (owner: WLRCursor)
[LOG] Hypr socket 2 started at /tmp/hypr/91a565c7b0957968d686fccf8f3a5166b9c3fec9_1679088047/.socket2.sock
[LOG] Registered signal for owner 1d220160: 1d2201a8 -> 1b25ecc0 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d2201b8 -> 1b25eca0 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d2201c8 -> 1b25ea80 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d2201d8 -> 1b25ea40 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d2201e8 -> 1b25ea60 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d2201f8 -> 1b25ea20 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220208 -> 1b25ea00 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220218 -> 1b25e9e0 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220258 -> 1b25e940 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220248 -> 1b25e920 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220268 -> 1b25e900 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220288 -> 1b25e8e0 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220228 -> 1b25e8c0 (owner: WLRCursor)
[LOG] Registered signal for owner 1d220160: 1d220238 -> 1b25e8a0 (owner: WLRCursor)
[LOG] Registered signal for owner 1c8df340: 1c8df358 -> 1b25ec80 (owner: Backend)
[LOG] Registered signal for owner 1c8ccd20: 1d26e9c8 -> 1b25ec20 (owner: Seat)
[LOG] Registered signal for owner 1c8ccd20: 1d26e9d8 -> 1b25ec00 (owner: Seat)
[LOG] Registered signal for owner 1c8ccd20: 1d26ea18 -> 1b25eb80 (owner: Seat)
[LOG] Registered signal for owner 1c8ccd20: 1d26ea28 -> 1b25eb60 (owner: Seat)
[LOG] Registered signal for owner 1c8ccd20: 1d26e9d8 -> 1b25ec00 (owner: Seat)
[LOG] Registered signal for owner 1c8ccd20: 1d26e9f8 -> 1b25ebe0 (owner: Seat)
[LOG] Registered signal for owner 1d26ec60: 1d26ec80 -> 1b25ed80 (owner: LayerShell)
[LOG] Registered signal for owner 1d21fe80: 1d21fea0 -> 1b25ede0 (owner: OutputLayout)
[LOG] Registered signal for owner 1d2204d0: 1d220508 -> 1b25ebc0 (owner: OutputMgr)
[LOG] Registered signal for owner 1d2204d0: 1d220518 -> 1b25eba0 (owner: OutputMgr)
[LOG] Registered signal for owner 1d2205b0: 1d2205e0 -> 1b25eb40 (owner: InhibitMgr)
[LOG] Registered signal for owner 1d2205b0: 1d2205f0 -> 1b25eb20 (owner: InhibitMgr)
[LOG] Registered signal for owner 1d220770: 1d220788 -> 1b25ec40 (owner: PointerConstraints)
[LOG] Registered signal for owner 1d26edd0: 1d26ee00 -> 1b25eb00 (owner: XDGDecoMgr)
[LOG] Registered signal for owner 1d220970: 1d2209a0 -> 1b25ec60 (owner: VirtPtrMgr)
[LOG] Registered signal for owner 1d2208c0: 1d2208f0 -> 1b25e960 (owner: VKeyboardMgr)
[LOG] Registered signal for owner 1cabe540: 1cabe540 -> 1b25eae0 (owner: WLRRenderer)
[LOG] Registered signal for owner 1d220d40: 1d220d70 -> 1b25eac0 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner 1d2167f0: 1d216820 -> 1b25e9c0 (owner: PowerMgr)
[LOG] Registered signal for owner 1d2211c0: 1d2211f0 -> 1b25e9a0 (owner: IMEMgr)
[LOG] Registered signal for owner 1d221110: 1d221140 -> 1b25e980 (owner: TextInputMgr)
[LOG] Registered signal for owner 1d221270: 1d221298 -> 1b25ed40 (owner: ActivationV1)
[LOG] Registered signal for owner 1d2213c0: 1d2213c8 -> 1b25e880 (owner: SessionLockMgr)
[LOG] Registered signal for owner 1c8ccac0: 1d220b10 -> 1b25eda0 (owner: DRM)
[LOG] Registered signal for owner 1c8df3d0: 1c8df530 -> 1b25eaa0 (owner: Session)
[LOG] wl_display_add_socket for wayland-1 succeeded with 0
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner 1d2e23d0: 1d2ed9a0 -> 1d2e23d8 (owner: Keyboard)
[LOG] Registered signal for owner 1d2e23d0: 1d2ed990 -> 1d2e2440 (owner: Keyboard)
[LOG] Registered signal for owner 1d2e23d0: 1d2ed870 -> 1d2e2510 (owner: Keyboard)
[LOG] Registered signal for owner 1d2e23d0: 1d2ed9b0 -> 1d2e24a8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] [hookSystem] New hook event registered: activeLayout
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Power Button"
[LOG] New keyboard created, pointers Hypr: 1d2e23d0 and WLR: 1d2ed858
[LOG] Attached a keyboard with name Video Bus
[LOG] Registered signal for owner 1d294a40: 1d2e3fb0 -> 1d294a48 (owner: Keyboard)
[LOG] Registered signal for owner 1d294a40: 1d2e3fa0 -> 1d294ab0 (owner: Keyboard)
[LOG] Registered signal for owner 1d294a40: 1d2e3e80 -> 1d294b80 (owner: Keyboard)
[LOG] Registered signal for owner 1d294a40: 1d2e3fc0 -> 1d294b18 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "video-bus", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Video Bus"
[LOG] New keyboard created, pointers Hypr: 1d294a40 and WLR: 1d2e3e68
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner 1d391cc0: 1d3918d0 -> 1d391cc8 (owner: Keyboard)
[LOG] Registered signal for owner 1d391cc0: 1d3918c0 -> 1d391d30 (owner: Keyboard)
[LOG] Registered signal for owner 1d391cc0: 1d3917a0 -> 1d391e00 (owner: Keyboard)
[LOG] Registered signal for owner 1d391cc0: 1d3918e0 -> 1d391d98 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Power Button"
[LOG] New keyboard created, pointers Hypr: 1d391cc0 and WLR: 1d391788
[LOG] Attached a switch device with name Lid Switch
[LOG] New switch with name "Lid Switch" added
[LOG] Registered signal for owner 1d36c5a0: 1d3ced08 -> 1d36c5b0 (owner: SwitchDevice)
[LOG] Registered signal for owner 1d36c5a0: 1d3ced28 -> 1d36c618 (owner: SwitchDevice)
[LOG] Attached a keyboard with name Sleep Button
[LOG] Registered signal for owner 1d3a9e50: 1d3cf0d0 -> 1d3a9e58 (owner: Keyboard)
[LOG] Registered signal for owner 1d3a9e50: 1d3cf0c0 -> 1d3a9ec0 (owner: Keyboard)
[LOG] Registered signal for owner 1d3a9e50: 1d3cefa0 -> 1d3a9f90 (owner: Keyboard)
[LOG] Registered signal for owner 1d3a9e50: 1d3cf0e0 -> 1d3a9f28 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "sleep-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Sleep Button"
[LOG] New keyboard created, pointers Hypr: 1d3a9e50 and WLR: 1d3cef88
[LOG] Attached a keyboard with name Integrated Camera: Integrated C
[LOG] Registered signal for owner 1d40e730: 1d40c580 -> 1d40e738 (owner: Keyboard)
[LOG] Registered signal for owner 1d40e730: 1d40c570 -> 1d40e7a0 (owner: Keyboard)
[LOG] Registered signal for owner 1d40e730: 1d40c450 -> 1d40e870 (owner: Keyboard)
[LOG] Registered signal for owner 1d40e730: 1d40c590 -> 1d40e808 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "integrated-camera:-integrated-c", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Integrated Camera: Integrated C"
[LOG] New keyboard created, pointers Hypr: 1d40e730 and WLR: 1d40c438
[LOG] Attached a keyboard with name AT Translated Set 2 keyboard
[LOG] Registered signal for owner 1d4267e0: 1d44bcf0 -> 1d4267e8 (owner: Keyboard)
[LOG] Registered signal for owner 1d4267e0: 1d44bce0 -> 1d426850 (owner: Keyboard)
[LOG] Registered signal for owner 1d4267e0: 1d44bbc0 -> 1d426920 (owner: Keyboard)
[LOG] Registered signal for owner 1d4267e0: 1d44bd00 -> 1d4268b8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "at-translated-set-2-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "AT Translated Set 2 keyboard"
[LOG] New keyboard created, pointers Hypr: 1d4267e0 and WLR: 1d44bba8
[LOG] Attached a mouse with name ETPS/2 Elantech TrackPoint
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse etps/2-elantech-trackpoint, sens 0.40
[LOG] Registered signal for owner 1d31d190: 1d48d270 -> 1d31d250 (owner: Mouse)
[LOG] New mouse created, pointer WLR: 1d48d258
[LOG] Attached a mouse with name ETPS/2 Elantech Touchpad
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse etps/2-elantech-trackpoint, sens 0.40
[LOG] Applied config to mouse etps/2-elantech-touchpad, sens 0.40
[LOG] Registered signal for owner 1d494ab0: 1d48da10 -> 1d494b70 (owner: Mouse)
[LOG] New mouse created, pointer WLR: 1d48d9f8
[LOG] Attached a keyboard with name ThinkPad Extra Buttons
[LOG] Registered signal for owner 1d48e550: 1d48e160 -> 1d48e558 (owner: Keyboard)
[LOG] Registered signal for owner 1d48e550: 1d48e150 -> 1d48e5c0 (owner: Keyboard)
[LOG] Registered signal for owner 1d48e550: 1d48e030 -> 1d48e690 (owner: Keyboard)
[LOG] Registered signal for owner 1d48e550: 1d48e170 -> 1d48e628 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "thinkpad-extra-buttons", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "ThinkPad Extra Buttons"
[LOG] New keyboard created, pointers Hypr: 1d48e550 and WLR: 1d48e018
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner 1d4df710: 1d4cc4e0 -> 1d4df860 (owner: )
[LOG] Registered signal for owner 1d4df710: 1d4cc570 -> 1d4df8c8 (owner: )
[LOG] Registered signal for owner 1d4df710: 1d4cc560 -> 1d4df930 (owner: )
[LOG] Applying monitor rule for eDP-1
[LOG] Monitor eDP-1: requested 1920x1080@60.049000, found available mode: 1920x1080@60049mHz, applying.
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor eDP-1 data dump: res 1920x1080@60.05Hz, scale 1.00, transform 0, pos 0x0, 10b 0
[LOG] Added new monitor with name eDP-1 at 0,0 with size 1920x1080, pointer 1d4cc390
[LOG] New monitor: WORKSPACEID 1, exists: 0
[LOG] [hookSystem] New hook event registered: createWorkspace
[LOG] [hookSystem] New hook event registered: monitorAdded
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Hyprland is ready, running the event loop!
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
[LOG] Process Created with pid 677377
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 waybar -c ~/.config/waybar/hypr/config
[LOG] Process Created with pid 677379
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 swaybg --mode fill --image ~/Pictures/wallpapers/wallpapers/landscapes/evening-sky.png
[LOG] Process Created with pid 677382
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 wl-paste --type text --watch clipman store --max-items=100
[LOG] Process Created with pid 677384
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 clipman restore
[LOG] Process Created with pid 677386
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 import-gsettings
[LOG] Process Created with pid 677388
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
[LOG] Process Created with pid 677395
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Power Button"
[LOG] ApplyConfigToKeyboard for "video-bus", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Video Bus"
[LOG] ApplyConfigToKeyboard for "power-button-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Power Button"
[LOG] ApplyConfigToKeyboard for "sleep-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Sleep Button"
[LOG] ApplyConfigToKeyboard for "integrated-camera:-integrated-c", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "Integrated Camera: Integrated C"
[LOG] ApplyConfigToKeyboard for "at-translated-set-2-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "AT Translated Set 2 keyboard"
[LOG] ApplyConfigToKeyboard for "thinkpad-extra-buttons", hasconfig: 0
[LOG] Attempting to create a keymap for layout us,ara with variant (rules: , model: , options: grp:rctrl_toggle)
[LOG] Set the keyboard layout to us,ara and variant to for keyboard "ThinkPad Extra Buttons"
[LOG] Applied config to mouse etps/2-elantech-trackpoint, sens 0.40
[LOG] Applied config to mouse etps/2-elantech-touchpad, sens 0.40
[LOG] Applying monitor rule for eDP-1
[LOG] Not applying a new rule to eDP-1 because it's already applied!
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-1
[LOG] Shaders initialized successfully.
[LOG] Registered signal for owner 1d725f60: 1d731888 -> 1d7260b0 (owner: layerSurface)
[LOG] Registered signal for owner 1d725f60: 1d733ee0 -> 1d725f78 (owner: layerSurface)
[LOG] Registered signal for owner 1d725f60: 1d733ef0 -> 1d725fe0 (owner: layerSurface)
[LOG] Registered signal for owner 1d725f60: 1d733f00 -> 1d726048 (owner: layerSurface)
[LOG] Registered signal for owner 1d725f60: 1d733f10 -> 1d726118 (owner: layerSurface)
[LOG] LayerSurface 1d733e20 (namespace wallpaper layer 0) created on monitor eDP-1
[LOG] LayerSurface 1d70ec10 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Registered signal for owner 1d737720: 1d7375f8 -> 1d737870 (owner: layerSurface)
[LOG] Registered signal for owner 1d737720: 1d7470a0 -> 1d737738 (owner: layerSurface)
[LOG] Registered signal for owner 1d737720: 1d7470b0 -> 1d7377a0 (owner: layerSurface)
[LOG] Registered signal for owner 1d737720: 1d7470c0 -> 1d737808 (owner: layerSurface)
[LOG] Registered signal for owner 1d737720: 1d7470d0 -> 1d7378d8 (owner: layerSurface)
[LOG] LayerSurface 1d746fe0 (namespace waybar layer 2) created on monitor eDP-1
[LOG] LayerSurface 1d5b9d30 arranged: x: 0 y: 0 w: 1920 h: 51 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 1d70ec10 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 51.000000 0.000000 0.000000
[LOG] LayerSurface 1d746fe0 mapped
[LOG] LayerSurface 1d5b9d30 arranged: x: 0 y: 0 w: 1920 h: 51 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 1d70ec10 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 51.000000 0.000000 0.000000
[LOG] [hookSystem] New hook event registered: openLayer
[LOG] LayerSurface 1d733e20 mapped
[LOG] LayerSurface 1d5b9d30 arranged: x: 0 y: 0 w: 1920 h: 51 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 1d70ec10 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 51.000000 0.000000 0.000000
[LOG] Keybind triggered, calling dispatcher (64, , 98)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 firefox-p
[LOG] Process Created with pid 677537
[LOG] Keybind triggered, calling dispatcher (64, , 98)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 firefox-p
[LOG] Process Created with pid 677539
[LOG] Keybind triggered, calling dispatcher (64, , 98)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 firefox-p
[LOG] Process Created with pid 677549
[LOG] Keybind triggered, calling dispatcher (64, , 65293)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 kitty
[LOG] Process Created with pid 677573
[LOG] New TextInput added!
[LOG] Registered signal for owner 1d79a900: 1d784ce8 -> 1d79a918 (owner: textInput)
[LOG] Registered signal for owner 1d79a900: 1d784cf8 -> 1d79a9e8 (owner: textInput)
[LOG] Registered signal for owner 1d79a900: 1d784d08 -> 1d79a980 (owner: textInput)
[LOG] Registered signal for owner 1d79a900: 1d784d18 -> 1d79aa50 (owner: textInput)
[LOG] New XDG Surface created. (class: kitty)
[LOG] Registered signal for owner 1d5046d0: 1d738fb0 -> 1d504738 (owner: XDG Window)
[LOG] Registered signal for owner 1d5046d0: 1d738fc0 -> 1d5047a0 (owner: XDG Window)
[LOG] Registered signal for owner 1d5046d0: 1d738f80 -> 1d504808 (owner: XDG Window)
[LOG] Registered signal for owner 1d5046d0: 1d5059d0 -> 1d504ce8 (owner: Toplevel)
[LOG] Registered signal for owner 1d5046d0: 1d5059e0 -> 1d504d50 (owner: Toplevel)
[LOG] Registered signal for owner 1d5046d0: 1d5059f0 -> 1d504c80 (owner: Toplevel)
[LOG] Searching for matching rules for kitty (title: zsh)
[LOG] OPENINGON: 1d724b50, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface 1d7a65e0, with window name: zsh
[LOG] [hookSystem] New hook event registered: activeWindow
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 1d5046d0: 1d7a68a8 -> 1d5046d0 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d79e690 -> 1d504870 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d738fa0 -> 1d5049a8 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d79e620 -> 1d504ae0 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d79e640 -> 1d504a78 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d79e650 -> 1d504a10 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d79e660 -> 1d504b48 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d5046d0: 1d79e630 -> 1d504940 (owner: XDG Window Late)
[LOG] Registered signal for owner 1d7aa960: 1d7a68b8 -> 1d7aa968 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 1d7aa960: 1d7a68a8 -> 1d7aa9d0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 1d7aa960: 1d7a68c8 -> 1d7aaa38 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 1d5046d0)
[LOG] Map request dispatched, monitor eDP-1, xywh: 22.000000 73.000000 1876.000000 985.000000
[LOG] [hookSystem] New hook event registered: openWindow
[LOG] Framebuffer created, status 36053
[LOG] Searching for matching rules for kitty (title: ~)
[LOG] Window 1d5046d0 set title to ~
[LOG] Searching for matching rules for kitty (title: talhah@voodoo:~)
[LOG] Window 1d5046d0 set title to talhah@voodoo:~
[LOG] Searching for matching rules for kitty (title: cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log | wl-copy)
[LOG] Window 1d5046d0 set title to cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log | wl-copy
weirdest shit ever. Never seen this. What if you just add a hyprctl reload
as an exec-once
?
I've figured out the issue. Its caused by how the config file is parsed and dealt with. The binding is actually working and running, the wrong command runs making it appear as if the binding is not running.
When pressing MOD + B the log shows the following:
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 firefox-p
Notice how it's "firefox-p" vs "firefox -p". After saving the file again, pressing MOD+B gives us the following log:
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 firefox -p
The correct command gets executed and the browser opens.
The issue stems from the following bindings:
1 $browser = firefox
2 $browser-p = firefox -p
3 # Browser
4 bind = $mainMod,B,exec,$browser-p
5 bind = $mainMod SHIFT,F, exec, $browser
For some reason its substituting the $browser variable in place at line 4 "$browser-p" becomes "firefox-p", but after refreshing the config it will substitute the $browser-p variable. I've also experimented with changing the variable $browser-p at line 2 to $browserprof and it gives the same issue. At line 4 $browserprof becomes "firefoxprof" rather than "firefox -p"
ah, right. Variables are checked from top to bottom, so putting the def for $firefox-p above $firefox should fix it
Yup, that's a temporary fix which works. Either this should be documented or patched though. I think tweaking the applyUserDefinedVars might be enough, we're always expecting either a " " or "," or I guess a newline/EOF? So we can add an additional check before replacing a value.
we can sort them by length descending.
fixed in ef80a69399d1a5139dd29b77434a750d3da0650c
@vaxerski thanks for Hyprland, I love it! One nit following up on this issue and configuration handling in general: I'm curious why you rolled your own config language and parser?
I've been struggling with configuration issues in hyprland since I've been using it, and its config engine seems lightyears behind everything else in the project. My most recent issue with it cropped up after generating my configuration every boot, and I couldn't figure out how configuration parsing and variable substitution works until I looked at the code.
It's very clear that you wanted to keep it lean. While this is a virtue, using a standard would prevent a lot of confusion, offload documentation responsibility, and also ingrain advanced configuration features with no effort.
E.g. in this issue, it appears expected that the obscure impl detail of how applyUserDefinedVars
works is common knowledge, that dynamic config variables are substituted using a sub-string match instead of a whole-word match, and therefore that there is some special rule that people need to know about when writing configs.
Would you be open to a PR that shifted config engine to use yaml, json, toml, whatever standard you prefer?
I've been struggling with configuration issues in hyprland since I've been using it, and its config engine seems lightyears behind everything else in the project. My most recent issue with it cropped up after generating my configuration every boot, and I couldn't figure out how configuration parsing and variable substitution works until I looked at the code.
I'd say you're in an extreme minority as the config syntax is what is often praised for its simplicity and readability
Would you be open to a PR that shifted config engine to use yaml, json, toml, whatever standard you prefer?
No
You cannot, with a straight face, call the entire parser a terrible idea from the ground-up because of a simple bug.
that dynamic config variables are substituted using a sub-string match instead of a whole-word match, and therefore that there is some special rule that people need to know about when writing configs.
I wonder if it's not clearly stated in the wiki: https://wiki.hyprland.org/Configuring/Keywords/#defining-variables
Well, I wouldn't say that with any kind of face because I wouldn't say that. Those are your words not mine. Regardless, apologies, I didn't mean to come across as critical as it seems you interpreted.
What I can say is that after studying the code I see that I had misinterpreted the resolution to this issue - I thought the problem was using starts_with
substring match instead of a full match and that by reversing the sort order of the dynamic variable map, you were just working around the issue.
After looking at the code some more I see that similarly-named variables are indeed resolved correctly when the vector is sorted by descending length, as it is iterated in that order when looking for matches, even using starts_with
works as expected.
Thanks. :-)
Issue:
I'm encountering some really weird behaviour, everytime I start up hyprland, when pressing my key combo MOD + B it doesn't work. However, if I go to the config in my editor and just save the file the combo then works. This occurs even after reboots and closing and reopening hyprland, I always have to save my config which then makes it magically work again. I'm guessing hyprland refreshes the config as soon as the config is saved which causes this to happen. But really I'm making no changes to the file.
Expected behaviour:
I'm expecting my keybinding MOD + B to work from a fresh start up
Below are my bindings and log from startup