-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
When creating a listener with a timeout longer than 20 seconds, the on-timeout is never executed. There is nothing inhibiting idle and no errors in the logs. Actually, the logs don't show anything out of the ordinary. This has been going on for a couple of weeks now; I have tried changing lock_cmd, on-timeout, and on-resume for every listener, reinstalling with a clean build, and changing the timeout. The only thing that works is setting timeout to something less than 20 seconds.
My hypridle.conf:
general {
lock_cmd = lock_screen.sh
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
$notifIdFile = /tmp/idle_notif_id
listener {
# 2.5 min
timeout = 150
# output the notification ID to a file so that it can be read and removed on resume
on-timeout = notify-send --expire-time 150000 --app-name "hypridle" --transient --print-id "you're idle!" "i'm locking soon!" > $notifIdFile
on-resume = makoctl dismiss -n "$(cat $notifIdFile)" && notify-send --app-name "hypridle" --transient "welcome back!"
}
listener {
timeout = 297
on-timeout = notify-send --expire-time 3000 --app-name "hypridle" "locking in 3 seconds!"
}
listener {
# 5 min.
timeout = 300
on-timeout = loginctl lock-session
}
Most recent hypridle log:
May 27 10:08:05 white-lotus-cachyos systemd[935]: Started Hyprland's idle daemon.
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] Registered timeout rule for 150s:
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: on-timeout: notify-send --expire-time 150000 --app-name "hypridle" --transient --print-id "you're idle!" "i'm locking soon!" > /tmp/idle_notif_id
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: on-resume: makoctl dismiss -n "$(cat /tmp/idle_notif_id)" && notify-send --app-name "hypridle" --transient "welcome back!"
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] Registered timeout rule for 297s:
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: on-timeout: notify-send --expire-time 3000 --app-name "hypridle" "locking in 3 seconds!"
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: on-resume:
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] Registered timeout rule for 300s:
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: on-timeout: loginctl lock-session
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: on-resume:
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_seat v9
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] > Bound to wl_seat v9
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_data_device_manager v3
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_compositor v6
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_subcompositor v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_shm v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_viewporter v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_tearing_control_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_fractional_scale_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zxdg_output_manager_v1 v3
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_cursor_shape_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_idle_inhibit_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_relative_pointer_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zxdg_decoration_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_alpha_modifier_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_gamma_control_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: ext_foreign_toplevel_list_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_pointer_gestures_v1 v3
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_foreign_toplevel_manager_v1 v3
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_text_input_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_text_input_manager_v3 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_pointer_constraints_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_virtual_keyboard_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_virtual_pointer_manager_v1 v2
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_output_manager_v1 v4
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: org_kde_kwin_server_decoration_manager v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: hyprland_focus_grab_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_tablet_manager_v2 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_layer_shell_v1 v5
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_presentation v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: xdg_wm_base v6
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_data_control_manager_v1 v2
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_primary_selection_device_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: xwayland_shell_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwlr_screencopy_manager_v1 v3
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: hyprland_toplevel_export_manager_v1 v2
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: hyprland_toplevel_mapping_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: hyprland_global_shortcuts_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: xdg_wm_dialog_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_single_pixel_buffer_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_security_context_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: hyprland_ctm_control_manager_v1 v2
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: hyprland_surface_manager_v1 v2
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_content_type_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: xdg_toplevel_tag_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: xdg_system_bell_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_color_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_drm_lease_device_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wp_linux_drm_syncobj_manager_v1 v1
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_drm v2
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: zwp_linux_dmabuf_v1 v5
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_output v4
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] | got iface: wl_output v4
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] found 3 rules
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] wayland done, registering dbus
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] Sleep inhibition enabled
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] Using dbus path /org/freedesktop/login1/session/_31
May 27 10:08:05 white-lotus-cachyos hypridle[1124]: [LOG] Inhibited sleep with fd 10
May 27 11:42:56 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: true dbus message from firefox (owner: :1.70) with content autoscroll
May 27 11:42:56 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 1
May 27 11:42:56 white-lotus-cachyos hypridle[1124]: [LOG] Cookie 1337 sent
May 27 11:42:56 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: false dbus message from firefox (owner: :1.70) with content autoscroll
May 27 11:42:56 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 0
May 27 11:50:43 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: true dbus message from firefox (owner: :1.70) with content autoscroll
May 27 11:50:43 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 1
May 27 11:50:43 white-lotus-cachyos hypridle[1124]: [LOG] Cookie 1338 sent
May 27 11:50:43 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: false dbus message from firefox (owner: :1.70) with content autoscroll
May 27 11:50:43 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 0
May 27 12:55:47 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: true dbus message from firefox (owner: :1.70) with content autoscroll
May 27 12:55:47 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 1
May 27 12:55:47 white-lotus-cachyos hypridle[1124]: [LOG] Cookie 1339 sent
May 27 12:55:49 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: false dbus message from firefox (owner: :1.70) with content autoscroll
May 27 12:55:49 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 0
May 27 13:05:46 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: true dbus message from firefox (owner: :1.70) with content autoscroll
May 27 13:05:46 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 1
May 27 13:05:46 white-lotus-cachyos hypridle[1124]: [LOG] Cookie 1340 sent
May 27 13:05:48 white-lotus-cachyos hypridle[1124]: [LOG] ScreenSaver inhibit: false dbus message from firefox (owner: :1.70) with content autoscroll
May 27 13:05:48 white-lotus-cachyos hypridle[1124]: [LOG] Inhibit locks: 0
carloslockward
Metadata
Metadata
Assignees
Labels
No labels