Skip to content

CPU usage increases by a lot when multiple actions are given [VID] #898

@LamprosPitsillos

Description

@LamprosPitsillos

Using actions (-A) , if i wait a bit while rofi is beign shown (rofi instead of dmenu) , dunst gets to 40% cpu usage (and for some reason also picom)

A vid showcasing the problem

Installation info

  • Version: Dunst - A customizable and lightweight notification-daemon 1.6.1 (2021-02-21)
  • Install type: package
  • Distro and version: Artix Linux , 5.13.12-artix1-1

Config

[global]
    monitor = 0
    follow = none
    geometry = "0x300-30+40"
    progress_bar = true
    progress_bar_height = 10
    progress_bar_frame_width = 1
    progress_bar_min_width = 150
    progress_bar_max_width = 300
    indicate_hidden = yes
    shrink = no
    transparency = 0
    notification_height = 0
    separator_height = 2
    padding = 8
    horizontal_padding = 8
    text_icon_padding = 5
    frame_width = 1
    frame_color = "#FFB52A"
    separator_color = frame
    sort = yes
    idle_threshold = 120
    font = Fira Code 10
    line_height = 0
    markup = full
    format = "<big><b>%s</b></big>\n%b"
    alignment = right
    vertical_alignment = center
    show_age_threshold = 60
    word_wrap = yes
    ellipsize = middle
    ignore_newline = no
    stack_duplicates = true
    hide_duplicate_count = false
    show_indicators = yes
    icon_position = left
    min_icon_size = 0
    max_icon_size = 128
    icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
    sticky_history = yes
    history_length = 20
    dmenu = /usr/bin/rofi -dmenu -p Dunst: 
    browser = /usr/bin/qutebrowser
    always_run_script = true
    title = Dunst
    class = Dunst
    startup_notification = false
    verbosity = mesg
    corner_radius = 0
    ignore_dbusclose = false
    force_xwayland = false
    force_xinerama = false
    mouse_left_click = do_action, close_current
    mouse_middle_click = close_all
    mouse_right_click = close_current
[experimental]
    per_monitor_dpi = false
[shortcuts]
[urgency_low]
    background = "#1E1E1E"
    foreground = "#888888"
    timeout = 10
[urgency_normal]
    background = "#1E1E1E"
    foreground = "#ffffff"
    highlight = "#FFB52A"
    timeout = 10
[urgency_critical]
    background = "#900000"
    foreground = "#ffffff"
    frame_color = "#ff0000"
    timeout = 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions