Hyprland
Hyprland copied to clipboard
Hyprland dies when external monitor is disconnected
Regression?
No
System Info and Version
System/Version info
Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886
flags: (if any)
System Information:
System name: Linux
Node name: kratos
Release: 6.9.10-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])
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://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
======Config-Start======
Config File: /home/caretakr/.config/hypr/hyprland.conf: Read Succeeded
##
## Hyprland config
##
# Execute post script after init
exec = $HOME/.scripts/hypr/postrc
source = hyprland.d/*.conf
# # Set programs that you use
# $terminal = kitty
#
# # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# bind = $mod, Q, exec, $terminal
# include config.d/*.conf
Config File: /home/caretakr/.config/hypr/hyprland.d/10-decoration.conf: Read Succeeded
##
## Decoration config
##
decoration {
rounding = 4
dim_inactive = true
dim_strength = 0.4
dim_special = 0.6
drop_shadow = false
blur {
enabled = false
}
}
Config File: /home/caretakr/.config/hypr/hyprland.d/10-general.conf: Read Succeeded
##
## Gereral config
##
general {
gaps_in = 12
gaps_out = 14, 22, 22, 22
border_size = 2
col.active_border = rgba(8839efff) rgba(40a02bff) 45deg
col.inactive_border = rgba(8839ef66) rgba(40a02b66) 45deg
animation = windows, 1, 2, default, popin
animation = workspaces, 1, 2, default, slide
animation = specialWorkspace, 1, 2, default, slidevert
workspace = special:clipboard, gapsout:144 320 144 320
workspace = special:keychain, gapsout:34 42 42 42
workspace = special:launcher, gapsout:144 320 144 320
workspace = special:power, gapsout:144 320 144 320
workspace = special:scratchpad, gapsout:34 42 42 42
}
Config File: /home/caretakr/.config/hypr/hyprland.d/10-gestures.conf: Read Succeeded
##
## Gestures config
##
gestures {
workspace_swipe = true
}
Config File: /home/caretakr/.config/hypr/hyprland.d/10-input.conf: Read Succeeded
##
## Input config
##
source = 10-input.d/*.conf
Config File: /home/caretakr/.config/hypr/hyprland.d/10-input.d/10-dell.conf: Read Succeeded
##
## DELL config
##
device {
name = at-translated-set-2-keyboard
kb_layout = br
}
device {
name = dll0945:00-06cb:cde6-touchpad
natural_scroll = true
drag_lock = false
tap-and-drag = false
}
Config File: /home/caretakr/.config/hypr/hyprland.d/10-input.d/10-logitech.conf: Read Succeeded
##
## Logitech
##
device {
name = logitech-mx-keys
kb_layout = us
kb_variant = alt-intl
numlock_by_default = true
}
device {
name = logitech-wireless-device-pid:408a-keyboard
kb_layout = us
kb_variant = alt-intl
numlock_by_default = true
}
device {
name = mx-keys-keyboard
kb_layout = us
kb_variant = alt-intl
numlock_by_default = true
}
Config File: /home/caretakr/.config/hypr/hyprland.d/10-output.conf: Read Succeeded
##
## Output config
##
source = 10-output.d/*.conf
Config File: /home/caretakr/.config/hypr/hyprland.d/10-output.d/10-dell.conf: Read Succeeded
##
## DELL
##
monitor = desc:Sharp Corporation 0x14F9, [email protected], 0x0, 1.333333
workspace = 1, monitor:desc:Sharp Corporation 0x14F9
workspace = 3, monitor:desc:Sharp Corporation 0x14F9
workspace = 5, monitor:desc:Sharp Corporation 0x14F9
workspace = 7, monitor:desc:Sharp Corporation 0x14F9
workspace = 9, monitor:desc:Sharp Corporation 0x14F9
Config File: /home/caretakr/.config/hypr/hyprland.d/10-output.d/10-samsung.conf: Read Succeeded
##
## Samsung
##
monitor = desc:Samsung Electric Company LC24RG50 HX5R302238, [email protected], 1920x60, 1.25
workspace = 2, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 4, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 6, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 8, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 10, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
Config File: /home/caretakr/.config/hypr/hyprland.d/15-rules.conf: Read Succeeded
##
## Rules config
##
windowrulev2 = suppressevent maximize, class:.*
source = 15-rules.d/*.conf
Config File: /home/caretakr/.config/hypr/hyprland.d/15-rules.d/10-float.conf: Read Succeeded
##
## Float
##
## Clipboard
windowrulev2 = workspace special:clipboard silent, class:^(foot.clipboard)$,
windowrulev2 = noanim, class:^(foot.clipboard)$,
## Keychain
windowrulev2 = workspace special:keychain silent, class:^(org.keepassxc.KeePassXC)$, initialTitle:^(.*KeepPassXC)$,
windowrulev2 = noanim, class:(org.keepassxc.KeePassXC), class:(org.keepassxc.KeePassXC), initialTitle:^(.*KeepPassXC)$,
windowrulev2 = float, class:(org.keepassxc.KeePassXC), initialTitle:^(.*Access Request)$,
# windowrulev2 = center, class:(org.keepassxc.KeePassXC), initialTitle:^(.*Access Request)$,
# windowrulev2 = size:50% 50%, class:(org.keepassxc.KeePassXC), initialTitle:^(.*Access Request)$,
windowrulev2 = stayfocused, class:(org.keepassxc.KeePassXC), initialTitle:^(.*Access Request)$,
## Launcher
windowrulev2 = workspace special:launcher silent, class:(foot.launcher),
windowrulev2 = noanim, class:(foot.launcher),
## Pinentry
windowrulev2 = stayfocused, class:(gcr-prompter),
## Power
windowrulev2 = workspace special:power silent, class:(foot.power),
windowrulev2 = noanim, class:(foot.power),
## Scratchpad
windowrulev2 = workspace special:scratchpad silent, class:(foot.scratchpad),
windowrulev2 = noanim, class:(foot.scratchpad),
Config File: /home/caretakr/.config/hypr/hyprland.d/15-rules.d/10-workspaces.conf: Read Succeeded
##
## Workspaces
##
workspace = 1, monitor:desc:Sharp Corporation 0x14F9, default:true
workspace = 2, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238, default:true
workspace = 3, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 4, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 5, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 6, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 7, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 8, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 9, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
workspace = 10, monitor:desc:Samsung Electric Company LC24RG50 HX5R302238
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.conf: Read Succeeded
##
## Binds
##
# Close and kill
bind = SUPER+SHIFT, q, killactive,
# Toggle floating
bind = SUPER+ALT, f, togglefloating,
# Quit Hyprland
bind = SUPER+SHIFT, e, exit,
## Start launcher
bind = SUPER, SPACE, exec, $HOME/.scripts/hypr/launcherrc --popup
## Start terminal
bind = SUPER, RETURN, exec, $HOME/.scripts/hypr/terminalrc
## Start terminal on scratchpad
bind = SUPER+ALT, RETURN, exec, $HOME/.scripts/hypr/scratchpadrc
## Start power menu
bind = SUPER+ALT, p, exec, $HOME/.scripts/hypr/powerrc --popup
## Start clipboard menu
bind = SUPER+ALT, c, exec, $HOME/.scripts/hypr/clipboardrc --popup
## Start keychain
bind = SUPER+ALT, k, exec, $HOME/.scripts/hypr/keychainrc
source = 20-binds.d/*.conf
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.d/10-layout.conf: Read Succeeded
##
## Layout config
##
#
#
bind=SUPER,F,fullscreen
## Move the focus around
bind = SUPER, h, movefocus, l
bind = SUPER, l, movefocus, r
bind = SUPER, k, movefocus, u
bind = SUPER, j, movefocus, d
## Ditto, with arrow keys
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
## Move the focused window
bind = SUPER+SHIFT, h, movewindow, l
bind = SUPER+SHIFT, l, movewindow, r
bind = SUPER+SHIFT, k, movewindow, u
bind = SUPER+SHIFT, j, movewindow, d
## Ditto, with arrow keys
bind = SUPER+SHIFT, left, movewindow, l
bind = SUPER+SHIFT, right, movewindow, r
bind = SUPER+SHIFT, up, movewindow, u
bind = SUPER+SHIFT, down, movewindow, d
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.d/10-output.conf: Read Succeeded
##
## Output config
##
## Focus next monitor
bind = SUPER, Tab, focusmonitor, +1
## Focus previous monitor
bind = SUPER+SHIFT, Tab, focusmonitor, -1
## Handle lid when closing
bindl=,switch:on:Lid Switch,exec,$HOME/.scripts/hypr/lidrc --switch on
## Handle lid when opening
bindl=,switch:off:Lid Switch,exec,$HOME/.scripts/hypr/lidrc --switch off
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.d/10-print.conf: Read Succeeded
##
## Print config
##
## Print to clipboard
bind = , Print, exec, $HOME/.scripts/hypr/printrc -i screen -o clipboard
# bind = SHIFT, Print, exec, $HOME/.scripts/hypr/printrc -i window -o clipboard
bind = CTRL, Print, exec, $HOME/.scripts/hypr/printrc -i area -o clipboard
## Print to file
bind = ALT, Print, exec, $HOME/.scripts/hypr/printrc -i screen -o file
# bind = ALT+SHIFT, Print, exec, $HOME/.scripts/hypr/printrc -i window -o file
bind = ALT+CTRL, Print, exec, $HOME/.scripts/hypr/printrc -i area -o file
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.d/10-resize.conf: Read Succeeded
##
## Resize config
##
bind = SUPER, r, submap, resize
submap = resize
## Resize active window
binde = , k, resizeactive, 0 -8
binde = , l, resizeactive, 8 0
binde = , j, resizeactive, 0 8
binde = , h, resizeactive, -8 0
## Ditto, with arrow keys
binde = , up, resizeactive, 0 -8
binde = , right, resizeactive, 8 0
binde = , down, resizeactive, 0 8
binde = , left, resizeactive, -8 0
## Reset resize submap
bind = , RETURN, submap, reset
submap = reset
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.d/10-special.conf: Read Succeeded
##
## Special config
##
## Volume control
bindel = , XF86AudioRaiseVolume, exec, $HOME/.scripts/hypr/specialrc -t volume -a raise
bindel = , XF86AudioLowerVolume, exec, $HOME/.scripts/hypr/specialrc -t volume -a lower
bindl = , XF86AudioMute, exec, $HOME/.scripts/hypr/specialrc -t volume -a toggle
## Mic control
bind = SUPER+SHIFT, m, exec, $HOME/.scripts/hypr/specialrc -t mic -a toggle
bind = SUPER+SHIFT, RETURN, exec, $HOME/.scripts/hypr/specialrc -t mic -a open
bindr = SUPER+SHIFT, RETURN, exec, $HOME/.scripts/hypr/specialrc -t mic -a close
## Brightness control
bindel = , XF86MonBrightnessUp, exec, $HOME/.scripts/hypr/specialrc -t brightness -a raise
bindel = , XF86MonBrightnessDown, exec, $HOME/.scripts/hypr/specialrc -t brightness -a lower
## Media control
bindl = , XF86AudioPlay, exec, $HOME/.scripts/hypr/specialrc -t media -a play
bindl = , XF86AudioNext, exec, $HOME/.scripts/hypr/specialrc -t media -a next
bindl = , XF86AudioPrev, exec, $HOME/.scripts/hypr/specialrc -t media -a previous
Config File: /home/caretakr/.config/hypr/hyprland.d/20-binds.d/10-workspace.conf: Read Succeeded
##
## Workspace config
##
## Switch to workspaces
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
## Ditto, with keypad
bind = SUPER, KP_End, workspace, 1
bind = SUPER, KP_Down, workspace, 2
bind = SUPER, KP_Next, workspace, 3
bind = SUPER, KP_Left, workspace, 4
bind = SUPER, KP_Begin, workspace, 5
bind = SUPER, KP_Right, workspace, 6
bind = SUPER, KP_Home, workspace, 7
bind = SUPER, KP_Up, workspace, 8
bind = SUPER, KP_Prior, workspace, 9
bind = SUPER, KP_Insert, workspace, 10
## Move to workspaces
bind = SUPER+SHIFT, 1, movetoworkspace, 1
bind = SUPER+SHIFT, 2, movetoworkspace, 2
bind = SUPER+SHIFT, 3, movetoworkspace, 3
bind = SUPER+SHIFT, 4, movetoworkspace, 4
bind = SUPER+SHIFT, 5, movetoworkspace, 5
bind = SUPER+SHIFT, 6, movetoworkspace, 6
bind = SUPER+SHIFT, 7, movetoworkspace, 7
bind = SUPER+SHIFT, 8, movetoworkspace, 8
bind = SUPER+SHIFT, 9, movetoworkspace, 9
bind = SUPER+SHIFT, 0, movetoworkspace, 10
## Ditto, with keypad
bind = SUPER+SHIFT, KP_End, movetoworkspace, 1
bind = SUPER+SHIFT, KP_Down, movetoworkspace, 2
bind = SUPER+SHIFT, KP_Next, movetoworkspace, 3
bind = SUPER+SHIFT, KP_Left, movetoworkspace, 4
bind = SUPER+SHIFT, KP_Begin, movetoworkspace, 5
bind = SUPER+SHIFT, KP_Right, movetoworkspace, 6
bind = SUPER+SHIFT, KP_Home, movetoworkspace, 7
bind = SUPER+SHIFT, KP_Up, movetoworkspace, 8
bind = SUPER+SHIFT, KP_Prior, movetoworkspace, 9
bind = SUPER+SHIFT, KP_Insert, movetoworkspace, 10
## Scroll between workspaces with mouse
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
## Resize or drag windows with mouse
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
Config File: /home/caretakr/.config/hypr/hyprland.d/99-xwayland.conf: Read Succeeded
##
## XWayland config
##
xwayland {
force_zero_scaling = true
}
======Config-End========
Description
I have a setup with an external monitor connected via HDMI through a Baseus USB-C hub. When I remove this USB-C from my computer, Hyprland crashes.
How to reproduce
Start the computer with the USB-C hub connected to it and the monitor connected to the hub. Remove the hub. Boom.