[GH-ISSUE #291] Bar disappears after some time with DPMS off #4335

Closed
opened 2026-05-23 00:52:43 +01:00 by JakeStanger · 5 comments
Owner

Originally created by @malicean on GitHub (Aug 28, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/291

Describe the bug
After a sufficient amount of time with DPMS off, the bar will not be visible on one of my monitors until ironbar reload is run. It is still visible on my other monitor.

To Reproduce
Steps to reproduce the behavior:

  1. Have ironbar on multiple monitors (unknown if this is actually required, but it's how I noticed the discrepancy)
  2. Trigger DPMS off
  3. Wait a bit. This was 6m32s according to logs for me
  4. Trigger DPMS on
  5. Bar is gone from a monitor

Expected behavior
Bar should remain on monitor.

System information:

  • Distro: Arch Linux
  • Compositor: Hyprland 0.28.0, NVIDIA patch
  • Ironbar version: 0.13.0

Configuration

Config
position: "top"
height: 42
start:
  - type: clock
    format: '%m/%d %H:%M'
  - type: script
    class: weather
    cmd: /home/malicean/.config/ironbar/scripts/weather.nu
    interval: 900000
center:
  - type: workspaces
    name_map:
      '7': 󱔼
      '8': 󰝚
      '9': 󰍩
      '10': 󰙯,
    all_monitors: true
  - type: custom
    class: power-menu
    bar:
    - on_click: popup:toggle
      label: 
      name: power-btn
      type: button
    popup:
    - orientation: vertical
      type: box
      widgets:
      - type: box
        widgets:
        - class: power-btn
          on_click: '!shutdown now'
          label: 
          type: button
        - class: power-btn
          on_click: '!reboot'
          label: 
          type: button
      - label: '{{60000:uptime -p | cut -d '' '' -f2-}}'
        name: uptime
        type: label
end:
  - type: music
    player_type: mpd
    format: '{title}    {artist}'
    truncate: end
    show_status_icon: false
    cover_image_size: 160
    host: '/home/malicean/.local/state/mpd/socket'
    music_dir: '/home/malicean/music/source'
  - type: sys_info
    format:
      - '{net_down:enp34s0} / {net_up:enp34s0} 󰈀'
      - '{temp_c:k10temp-Tctl} 󰈸'
    interval:
      networks: 3
      temps: 5

Log

DPMS off was triggered at 2023-08-28T17:09:32.127 (indicated in log). Monitor without bar is DP-3, the LG Ultragear.

IRONBAR_LOG=debug,mpd_protocol=warn ironbar 
2023-08-28T17:08:50.736498Z  INFO ironbar: 92: Ironbar version 0.13.0
2023-08-28T17:08:50.736514Z  INFO ironbar: 93: Starting application
2023-08-28T17:08:50.738311Z DEBUG sctk: 456: Bound new global [51] wl_output v4    
2023-08-28T17:08:50.738326Z DEBUG sctk: 456: Bound new global [56] wl_output v4    
2023-08-28T17:08:50.738331Z DEBUG sctk: 496: Bound new global [50] zxdg_output_manager_v1 v3    
2023-08-28T17:08:50.738347Z DEBUG sctk: 456: Bound new global [14] wl_seat v7    
2023-08-28T17:08:50.738356Z DEBUG ironbar::clients::wayland::wlr_data_control::manager: 28: Bound to ZwlDataControlManagerV1 global
2023-08-28T17:08:50.738368Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel::manager: 24: Bound to ZwlForeignToplevelManagerV1 global
2023-08-28T17:08:50.738623Z DEBUG ironbar::clients::wayland::wl_output: 36: Handler received new output
2023-08-28T17:08:50.738632Z DEBUG ironbar::clients::wayland::wl_output: 36: Handler received new output
2023-08-28T17:08:50.738640Z DEBUG ironbar::clients::wayland::wl_seat: 24: Handler received new capability
2023-08-28T17:08:50.738646Z DEBUG ironbar::clients::wayland::wl_seat: 32: Adding new data control device
2023-08-28T17:08:50.738656Z DEBUG ironbar::clients::wayland::wl_seat: 24: Handler received new capability
2023-08-28T17:08:50.738665Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738670Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738677Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738684Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738688Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738693Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738698Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle
2023-08-28T17:08:50.738813Z DEBUG ironbar::clients::wayland::wlr_data_control: 162: Handler received selection event
2023-08-28T17:08:50.772505Z DEBUG universal_config: 161: Using config dir: /home/malicean/.config/ironbar
2023-08-28T17:08:50.772505Z  INFO ironbar::ipc::server: 43: Starting IPC on /run/user/1000/ironbar-ipc.sock
2023-08-28T17:08:50.772530Z DEBUG universal_config: 140: Found file at: '/home/malicean/.config/ironbar/config.yaml
2023-08-28T17:08:50.772753Z DEBUG ironbar: 184: Loaded config file
2023-08-28T17:08:50.772786Z DEBUG ironbar: 214: Received 2 outputs from Wayland
2023-08-28T17:08:50.772790Z DEBUG ironbar: 215: Outputs: [OutputInfo { id: 51, model: "HDMI", make: "Digital Projection Limited", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 59951, current: true, preferred: false }], logical_position: Some((2560, 0)), logical_size: Some((2560, 1440)), name: Some("DP-1"), description: Some("Digital Projection Limited HDMI 0000000000000 (DP-1)") }, OutputInfo { id: 56, model: "LG ULTRAGEAR", make: "LG Electronics", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 143973, current: true, preferred: false }], logical_position: Some((0, 0)), logical_size: Some((2560, 1440)), name: Some("DP-3"), description: Some("LG Electronics LG ULTRAGEAR 203MXHB2W289 (DP-3)") }]
2023-08-28T17:08:50.772808Z  INFO ironbar: 233: Creating bar on 'DP-1'
2023-08-28T17:08:50.773206Z  INFO ironbar::bar: 32: Creating bar bar-9
2023-08-28T17:08:50.775277Z DEBUG ironbar::popup: 121: Registered popup content for #10
2023-08-28T17:08:50.775370Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"]
2023-08-28T17:08:50.775463Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland
2023-08-28T17:08:50.775478Z  INFO ironbar::clients::compositor::hyprland: 30: Starting Hyprland event listener
2023-08-28T17:08:50.775733Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:08:50.775791Z DEBUG ironbar::popup: 121: Registered popup content for #14
2023-08-28T17:08:50.776666Z DEBUG ironbar::clients::music::mpd: 57: Creating new MPD connection to /home/malicean/.local/state/mpd/socket
2023-08-28T17:08:50.777327Z DEBUG ironbar::popup: 121: Registered popup content for #16
2023-08-28T17:08:50.780233Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 45 minutes'
2023-08-28T17:08:50.788823Z DEBUG ironbar::bar: 81: Showing bar
2023-08-28T17:08:50.806351Z  INFO ironbar: 233: Creating bar on 'DP-3'
2023-08-28T17:08:50.806520Z  INFO ironbar::bar: 32: Creating bar bar-19
2023-08-28T17:08:50.806802Z DEBUG ironbar::popup: 121: Registered popup content for #20
2023-08-28T17:08:50.806868Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"]
2023-08-28T17:08:50.806947Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland
2023-08-28T17:08:50.807225Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:08:50.807272Z DEBUG ironbar::popup: 121: Registered popup content for #24
2023-08-28T17:08:50.808445Z DEBUG ironbar::popup: 121: Registered popup content for #26
2023-08-28T17:08:50.811304Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 45 minutes'
2023-08-28T17:08:50.819983Z DEBUG ironbar::bar: 81: Showing bar
2023-08-28T17:08:50.842676Z DEBUG ironbar: 201: Created bars
2023-08-28T17:08:50.843076Z DEBUG ironbar::style: 24: Loaded css from '/home/malicean/.config/ironbar/style.css'
2023-08-28T17:08:50.843374Z DEBUG ironbar::style: 57: Installed CSS file watcher on '/home/malicean/.config/ironbar/style.css'
2023-08-28T17:08:51.229075Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("7") -> Regular("3")
2023-08-28T17:08:51.557842Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /   15 /   '
2023-08-28T17:08:51.611292Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /   15 /   '
------------------- DPMS OFF HERE -------------------
2023-08-28T17:09:50.781672Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:09:50.786380Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 46 minutes'
2023-08-28T17:09:50.813118Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:09:50.817751Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 46 minutes'
2023-08-28T17:10:50.787295Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:10:50.791979Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 47 minutes'
2023-08-28T17:10:50.818328Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:10:50.823106Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 47 minutes'
2023-08-28T17:11:50.792540Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:11:50.798066Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 48 minutes'
2023-08-28T17:11:50.824276Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:11:50.828984Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 48 minutes'
2023-08-28T17:12:50.798500Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:12:50.805154Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 49 minutes'
2023-08-28T17:12:50.829304Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:12:50.835596Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 49 minutes'
2023-08-28T17:13:50.807156Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:13:50.814468Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 50 minutes'
2023-08-28T17:13:50.836808Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:13:50.841870Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 50 minutes'
2023-08-28T17:14:50.815398Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:14:50.822872Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 51 minutes'
2023-08-28T17:14:50.842974Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:14:50.849101Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 51 minutes'
2023-08-28T17:15:50.824073Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:15:50.830888Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes'
2023-08-28T17:15:50.850984Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:15:50.856227Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes'
2023-08-28T17:16:04.485118Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("1")
2023-08-28T17:16:04.552928Z DEBUG ironbar::clients::wayland::wl_output: 53: Handle received output destruction
2023-08-28T17:16:04.767556Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("2")
2023-08-28T17:16:04.768994Z DEBUG ironbar::clients::compositor::hyprland: 51: Added workspace: Regular("4")
2023-08-28T17:16:04.769063Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("2") -> Regular("7")
2023-08-28T17:16:04.769196Z DEBUG ironbar::clients::compositor::hyprland: 74: Received workspace change: Some("7") -> Regular("4")
2023-08-28T17:16:04.769281Z ERROR ironbar::clients::compositor::hyprland: 84: Unable to locate workspace
2023-08-28T17:16:04.769299Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("3")
2023-08-28T17:16:04.769391Z DEBUG ironbar::clients::compositor::hyprland: 153: Received workspace destroy: Regular("4")
2023-08-28T17:16:06.453805Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("1")
2023-08-28T17:16:06.578201Z DEBUG sctk: 249: Bound new global [57] wl_output v4    
2023-08-28T17:16:06.934936Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("2")
2023-08-28T17:16:06.935525Z DEBUG ironbar::clients::wayland::wl_output: 36: Handler received new output
2023-08-28T17:16:06.936209Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("3")
2023-08-28T17:16:11.628585Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("3") -> Regular("1")
2023-08-28T17:16:11.640943Z DEBUG ironbar::clients::compositor::hyprland: 74: Received workspace change: Some("1") -> Regular("2")
2023-08-28T17:16:16.442225Z DEBUG ironbar::clients::compositor::hyprland: 74: Received workspace change: Some("2") -> Regular("3")
2023-08-28T17:16:25.784037Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("3") -> Regular("7")
2023-08-28T17:16:26.858432Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("7") -> Regular("3")
2023-08-28T17:16:27.583766Z DEBUG ironbar::ipc::server: 97: Received command: Reload
2023-08-28T17:16:27.583820Z  INFO ironbar::ipc::server: 126: Closing existing bars
2023-08-28T17:16:27.583844Z DEBUG universal_config: 161: Using config dir: /home/malicean/.config/ironbar
2023-08-28T17:16:27.583860Z DEBUG universal_config: 140: Found file at: '/home/malicean/.config/ironbar/config.yaml
2023-08-28T17:16:27.584055Z DEBUG ironbar: 184: Loaded config file
2023-08-28T17:16:27.584096Z DEBUG ironbar: 214: Received 2 outputs from Wayland
2023-08-28T17:16:27.584101Z DEBUG ironbar: 215: Outputs: [OutputInfo { id: 51, model: "HDMI", make: "Digital Projection Limited", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 59951, current: true, preferred: false }], logical_position: Some((2560, 0)), logical_size: Some((2560, 1440)), name: Some("DP-1"), description: Some("Digital Projection Limited HDMI 0000000000000 (DP-1)") }, OutputInfo { id: 57, model: "LG ULTRAGEAR", make: "LG Electronics", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 143973, current: true, preferred: false }], logical_position: Some((0, 0)), logical_size: Some((2560, 1440)), name: Some("DP-3"), description: Some("LG Electronics LG ULTRAGEAR 203MXHB2W289 (DP-3)") }]
2023-08-28T17:16:27.584120Z  INFO ironbar: 233: Creating bar on 'DP-1'
2023-08-28T17:16:27.584312Z  INFO ironbar::bar: 32: Creating bar bar-29
2023-08-28T17:16:27.584610Z DEBUG ironbar::popup: 121: Registered popup content for #30
2023-08-28T17:16:27.584676Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"]
2023-08-28T17:16:27.584757Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland
2023-08-28T17:16:27.585073Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:16:27.585143Z DEBUG ironbar::popup: 121: Registered popup content for #34
2023-08-28T17:16:27.586617Z DEBUG ironbar::popup: 121: Registered popup content for #36
2023-08-28T17:16:27.589273Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes'
2023-08-28T17:16:27.610628Z DEBUG ironbar::bar: 81: Showing bar
2023-08-28T17:16:27.611899Z  INFO ironbar: 233: Creating bar on 'DP-3'
2023-08-28T17:16:27.612008Z  INFO ironbar::bar: 32: Creating bar bar-39
2023-08-28T17:16:27.612274Z DEBUG ironbar::popup: 121: Registered popup content for #40
2023-08-28T17:16:27.612331Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"]
2023-08-28T17:16:27.612412Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland
2023-08-28T17:16:27.612680Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"]
2023-08-28T17:16:27.612741Z DEBUG ironbar::popup: 121: Registered popup content for #44
2023-08-28T17:16:27.614218Z DEBUG ironbar::popup: 121: Registered popup content for #46
2023-08-28T17:16:27.617293Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes'
2023-08-28T17:16:27.636410Z DEBUG ironbar::bar: 81: Showing bar
2023-08-28T17:16:27.647644Z DEBUG ironbar: 201: Created bars
2023-08-28T17:16:28.511496Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("3") -> Regular("7")
2023-08-28T17:16:28.600661Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /   15 /   '
2023-08-28T17:16:28.607589Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /   15 /   '
Originally created by @malicean on GitHub (Aug 28, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/291 **Describe the bug** After a sufficient amount of time with DPMS off, the bar will not be visible on one of my monitors until `ironbar reload` is run. It is still visible on my other monitor. **To Reproduce** Steps to reproduce the behavior: 1. Have ironbar on multiple monitors (unknown if this is actually required, but it's how I noticed the discrepancy) 2. Trigger DPMS off 3. Wait a bit. This was 6m32s according to logs for me 4. Trigger DPMS on 5. Bar is gone from a monitor **Expected behavior** Bar should remain on monitor. **System information:** - Distro: Arch Linux - Compositor: Hyprland 0.28.0, NVIDIA patch - Ironbar version: 0.13.0 **Configuration** <details><summary>Config</summary> ```yaml position: "top" height: 42 start: - type: clock format: '%m/%d %H:%M' - type: script class: weather cmd: /home/malicean/.config/ironbar/scripts/weather.nu interval: 900000 center: - type: workspaces name_map: '7': 󱔼 '8': 󰝚 '9': 󰍩 '10': 󰙯, all_monitors: true - type: custom class: power-menu bar: - on_click: popup:toggle label: ⏻ name: power-btn type: button popup: - orientation: vertical type: box widgets: - type: box widgets: - class: power-btn on_click: '!shutdown now' label: ⏻ type: button - class: power-btn on_click: '!reboot' label:  type: button - label: '{{60000:uptime -p | cut -d '' '' -f2-}}' name: uptime type: label end: - type: music player_type: mpd format: '{title}  {artist}' truncate: end show_status_icon: false cover_image_size: 160 host: '/home/malicean/.local/state/mpd/socket' music_dir: '/home/malicean/music/source' - type: sys_info format: - '{net_down:enp34s0} / {net_up:enp34s0} 󰈀' - '{temp_c:k10temp-Tctl} 󰈸' interval: networks: 3 temps: 5 ``` </details> <details><summary>Log</summary> DPMS off was triggered at 2023-08-28T17:09:32.127 (indicated in log). Monitor without bar is DP-3, the LG Ultragear. ``` IRONBAR_LOG=debug,mpd_protocol=warn ironbar 2023-08-28T17:08:50.736498Z INFO ironbar: 92: Ironbar version 0.13.0 2023-08-28T17:08:50.736514Z INFO ironbar: 93: Starting application 2023-08-28T17:08:50.738311Z DEBUG sctk: 456: Bound new global [51] wl_output v4 2023-08-28T17:08:50.738326Z DEBUG sctk: 456: Bound new global [56] wl_output v4 2023-08-28T17:08:50.738331Z DEBUG sctk: 496: Bound new global [50] zxdg_output_manager_v1 v3 2023-08-28T17:08:50.738347Z DEBUG sctk: 456: Bound new global [14] wl_seat v7 2023-08-28T17:08:50.738356Z DEBUG ironbar::clients::wayland::wlr_data_control::manager: 28: Bound to ZwlDataControlManagerV1 global 2023-08-28T17:08:50.738368Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel::manager: 24: Bound to ZwlForeignToplevelManagerV1 global 2023-08-28T17:08:50.738623Z DEBUG ironbar::clients::wayland::wl_output: 36: Handler received new output 2023-08-28T17:08:50.738632Z DEBUG ironbar::clients::wayland::wl_output: 36: Handler received new output 2023-08-28T17:08:50.738640Z DEBUG ironbar::clients::wayland::wl_seat: 24: Handler received new capability 2023-08-28T17:08:50.738646Z DEBUG ironbar::clients::wayland::wl_seat: 32: Adding new data control device 2023-08-28T17:08:50.738656Z DEBUG ironbar::clients::wayland::wl_seat: 24: Handler received new capability 2023-08-28T17:08:50.738665Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738670Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738677Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738684Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738688Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738693Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738698Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 27: Manager received new handle 2023-08-28T17:08:50.738813Z DEBUG ironbar::clients::wayland::wlr_data_control: 162: Handler received selection event 2023-08-28T17:08:50.772505Z DEBUG universal_config: 161: Using config dir: /home/malicean/.config/ironbar 2023-08-28T17:08:50.772505Z INFO ironbar::ipc::server: 43: Starting IPC on /run/user/1000/ironbar-ipc.sock 2023-08-28T17:08:50.772530Z DEBUG universal_config: 140: Found file at: '/home/malicean/.config/ironbar/config.yaml 2023-08-28T17:08:50.772753Z DEBUG ironbar: 184: Loaded config file 2023-08-28T17:08:50.772786Z DEBUG ironbar: 214: Received 2 outputs from Wayland 2023-08-28T17:08:50.772790Z DEBUG ironbar: 215: Outputs: [OutputInfo { id: 51, model: "HDMI", make: "Digital Projection Limited", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 59951, current: true, preferred: false }], logical_position: Some((2560, 0)), logical_size: Some((2560, 1440)), name: Some("DP-1"), description: Some("Digital Projection Limited HDMI 0000000000000 (DP-1)") }, OutputInfo { id: 56, model: "LG ULTRAGEAR", make: "LG Electronics", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 143973, current: true, preferred: false }], logical_position: Some((0, 0)), logical_size: Some((2560, 1440)), name: Some("DP-3"), description: Some("LG Electronics LG ULTRAGEAR 203MXHB2W289 (DP-3)") }] 2023-08-28T17:08:50.772808Z INFO ironbar: 233: Creating bar on 'DP-1' 2023-08-28T17:08:50.773206Z INFO ironbar::bar: 32: Creating bar bar-9 2023-08-28T17:08:50.775277Z DEBUG ironbar::popup: 121: Registered popup content for #10 2023-08-28T17:08:50.775370Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"] 2023-08-28T17:08:50.775463Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland 2023-08-28T17:08:50.775478Z INFO ironbar::clients::compositor::hyprland: 30: Starting Hyprland event listener 2023-08-28T17:08:50.775733Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:08:50.775791Z DEBUG ironbar::popup: 121: Registered popup content for #14 2023-08-28T17:08:50.776666Z DEBUG ironbar::clients::music::mpd: 57: Creating new MPD connection to /home/malicean/.local/state/mpd/socket 2023-08-28T17:08:50.777327Z DEBUG ironbar::popup: 121: Registered popup content for #16 2023-08-28T17:08:50.780233Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 45 minutes' 2023-08-28T17:08:50.788823Z DEBUG ironbar::bar: 81: Showing bar 2023-08-28T17:08:50.806351Z INFO ironbar: 233: Creating bar on 'DP-3' 2023-08-28T17:08:50.806520Z INFO ironbar::bar: 32: Creating bar bar-19 2023-08-28T17:08:50.806802Z DEBUG ironbar::popup: 121: Registered popup content for #20 2023-08-28T17:08:50.806868Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"] 2023-08-28T17:08:50.806947Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland 2023-08-28T17:08:50.807225Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:08:50.807272Z DEBUG ironbar::popup: 121: Registered popup content for #24 2023-08-28T17:08:50.808445Z DEBUG ironbar::popup: 121: Registered popup content for #26 2023-08-28T17:08:50.811304Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 45 minutes' 2023-08-28T17:08:50.819983Z DEBUG ironbar::bar: 81: Showing bar 2023-08-28T17:08:50.842676Z DEBUG ironbar: 201: Created bars 2023-08-28T17:08:50.843076Z DEBUG ironbar::style: 24: Loaded css from '/home/malicean/.config/ironbar/style.css' 2023-08-28T17:08:50.843374Z DEBUG ironbar::style: 57: Installed CSS file watcher on '/home/malicean/.config/ironbar/style.css' 2023-08-28T17:08:51.229075Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("7") -> Regular("3") 2023-08-28T17:08:51.557842Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /  15 /   ' 2023-08-28T17:08:51.611292Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /  15 /   ' ------------------- DPMS OFF HERE ------------------- 2023-08-28T17:09:50.781672Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:09:50.786380Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 46 minutes' 2023-08-28T17:09:50.813118Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:09:50.817751Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 46 minutes' 2023-08-28T17:10:50.787295Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:10:50.791979Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 47 minutes' 2023-08-28T17:10:50.818328Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:10:50.823106Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 47 minutes' 2023-08-28T17:11:50.792540Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:11:50.798066Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 48 minutes' 2023-08-28T17:11:50.824276Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:11:50.828984Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 48 minutes' 2023-08-28T17:12:50.798500Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:12:50.805154Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 49 minutes' 2023-08-28T17:12:50.829304Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:12:50.835596Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 49 minutes' 2023-08-28T17:13:50.807156Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:13:50.814468Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 50 minutes' 2023-08-28T17:13:50.836808Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:13:50.841870Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 50 minutes' 2023-08-28T17:14:50.815398Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:14:50.822872Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 51 minutes' 2023-08-28T17:14:50.842974Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:14:50.849101Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 51 minutes' 2023-08-28T17:15:50.824073Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:15:50.830888Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes' 2023-08-28T17:15:50.850984Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:15:50.856227Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes' 2023-08-28T17:16:04.485118Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("1") 2023-08-28T17:16:04.552928Z DEBUG ironbar::clients::wayland::wl_output: 53: Handle received output destruction 2023-08-28T17:16:04.767556Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("2") 2023-08-28T17:16:04.768994Z DEBUG ironbar::clients::compositor::hyprland: 51: Added workspace: Regular("4") 2023-08-28T17:16:04.769063Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("2") -> Regular("7") 2023-08-28T17:16:04.769196Z DEBUG ironbar::clients::compositor::hyprland: 74: Received workspace change: Some("7") -> Regular("4") 2023-08-28T17:16:04.769281Z ERROR ironbar::clients::compositor::hyprland: 84: Unable to locate workspace 2023-08-28T17:16:04.769299Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("3") 2023-08-28T17:16:04.769391Z DEBUG ironbar::clients::compositor::hyprland: 153: Received workspace destroy: Regular("4") 2023-08-28T17:16:06.453805Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("1") 2023-08-28T17:16:06.578201Z DEBUG sctk: 249: Bound new global [57] wl_output v4 2023-08-28T17:16:06.934936Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("2") 2023-08-28T17:16:06.935525Z DEBUG ironbar::clients::wayland::wl_output: 36: Handler received new output 2023-08-28T17:16:06.936209Z DEBUG ironbar::clients::compositor::hyprland: 133: Received workspace move: Regular("3") 2023-08-28T17:16:11.628585Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("3") -> Regular("1") 2023-08-28T17:16:11.640943Z DEBUG ironbar::clients::compositor::hyprland: 74: Received workspace change: Some("1") -> Regular("2") 2023-08-28T17:16:16.442225Z DEBUG ironbar::clients::compositor::hyprland: 74: Received workspace change: Some("2") -> Regular("3") 2023-08-28T17:16:25.784037Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("3") -> Regular("7") 2023-08-28T17:16:26.858432Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("7") -> Regular("3") 2023-08-28T17:16:27.583766Z DEBUG ironbar::ipc::server: 97: Received command: Reload 2023-08-28T17:16:27.583820Z INFO ironbar::ipc::server: 126: Closing existing bars 2023-08-28T17:16:27.583844Z DEBUG universal_config: 161: Using config dir: /home/malicean/.config/ironbar 2023-08-28T17:16:27.583860Z DEBUG universal_config: 140: Found file at: '/home/malicean/.config/ironbar/config.yaml 2023-08-28T17:16:27.584055Z DEBUG ironbar: 184: Loaded config file 2023-08-28T17:16:27.584096Z DEBUG ironbar: 214: Received 2 outputs from Wayland 2023-08-28T17:16:27.584101Z DEBUG ironbar: 215: Outputs: [OutputInfo { id: 51, model: "HDMI", make: "Digital Projection Limited", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 59951, current: true, preferred: false }], logical_position: Some((2560, 0)), logical_size: Some((2560, 1440)), name: Some("DP-1"), description: Some("Digital Projection Limited HDMI 0000000000000 (DP-1)") }, OutputInfo { id: 57, model: "LG ULTRAGEAR", make: "LG Electronics", location: (0, 0), physical_size: (600, 340), subpixel: Unknown, transform: Normal, scale_factor: 1, modes: [Mode { dimensions: (2560, 1440), refresh_rate: 143973, current: true, preferred: false }], logical_position: Some((0, 0)), logical_size: Some((2560, 1440)), name: Some("DP-3"), description: Some("LG Electronics LG ULTRAGEAR 203MXHB2W289 (DP-3)") }] 2023-08-28T17:16:27.584120Z INFO ironbar: 233: Creating bar on 'DP-1' 2023-08-28T17:16:27.584312Z INFO ironbar::bar: 32: Creating bar bar-29 2023-08-28T17:16:27.584610Z DEBUG ironbar::popup: 121: Registered popup content for #30 2023-08-28T17:16:27.584676Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"] 2023-08-28T17:16:27.584757Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland 2023-08-28T17:16:27.585073Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:16:27.585143Z DEBUG ironbar::popup: 121: Registered popup content for #34 2023-08-28T17:16:27.586617Z DEBUG ironbar::popup: 121: Registered popup content for #36 2023-08-28T17:16:27.589273Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes' 2023-08-28T17:16:27.610628Z DEBUG ironbar::bar: 81: Showing bar 2023-08-28T17:16:27.611899Z INFO ironbar: 233: Creating bar on 'DP-3' 2023-08-28T17:16:27.612008Z INFO ironbar::bar: 32: Creating bar bar-39 2023-08-28T17:16:27.612274Z DEBUG ironbar::popup: 121: Registered popup content for #40 2023-08-28T17:16:27.612331Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "/home/malicean/.config/ironbar/scripts/weather.nu"] 2023-08-28T17:16:27.612412Z DEBUG ironbar::clients::compositor: 58: Getting workspace client for: Hyprland 2023-08-28T17:16:27.612680Z DEBUG ironbar::script: 235: Running sh with args: ["-c", "uptime -p | cut -d ' ' -f2-"] 2023-08-28T17:16:27.612741Z DEBUG ironbar::popup: 121: Registered popup content for #44 2023-08-28T17:16:27.614218Z DEBUG ironbar::popup: 121: Registered popup content for #46 2023-08-28T17:16:27.617293Z DEBUG ironbar::script: 250: sending stdout: '1 day, 1 hour, 52 minutes' 2023-08-28T17:16:27.636410Z DEBUG ironbar::bar: 81: Showing bar 2023-08-28T17:16:27.647644Z DEBUG ironbar: 201: Created bars 2023-08-28T17:16:28.511496Z DEBUG ironbar::clients::compositor::hyprland: 108: Received active monitor change: Some("3") -> Regular("7") 2023-08-28T17:16:28.600661Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /  15 /   ' 2023-08-28T17:16:28.607589Z DEBUG ironbar::script: 250: sending stdout: '󰔏 25° /  15 /   ' ``` </details>
Author
Owner

@JakeStanger commented on GitHub (Aug 28, 2023):

I assume Wayland handles DPMS as a change in the outputs, which Ironbar currently doesn't handle. So long as it is that, it should be an easy fix

<!-- gh-comment-id:1696323697 --> @JakeStanger commented on GitHub (Aug 28, 2023): I *assume* Wayland handles DPMS as a change in the outputs, which Ironbar currently doesn't handle. So long as it is that, it should be an easy fix
Author
Owner

@yavko commented on GitHub (Aug 28, 2023):

I assume Wayland handles DPMS as a change in the outputs, which Ironbar currently doesn't handle. So long as it is that, it should be an easy fix

Yeah adding ironbar to new monitors would be sick, I encountered this when I got vnc working

<!-- gh-comment-id:1696543796 --> @yavko commented on GitHub (Aug 28, 2023): > I *assume* Wayland handles DPMS as a change in the outputs, which Ironbar currently doesn't handle. So long as it is that, it should be an easy fix > Yeah adding ironbar to new monitors would be sick, I encountered this when I got vnc working
Author
Owner

@JakeStanger commented on GitHub (Sep 1, 2023):

it should be an easy fix

Spoke too soon 🙃 I think I'm going to have to rework the init logic to work on an event-based system, listening to when a monitor connects, rather than just getting them all on init.

<!-- gh-comment-id:1703316401 --> @JakeStanger commented on GitHub (Sep 1, 2023): > it should be an easy fix Spoke too soon :upside_down_face: I think I'm going to have to rework the init logic to work on an event-based system, listening to when a monitor connects, rather than just getting them all on init.
Author
Owner

@JakeStanger commented on GitHub (Sep 25, 2023):

Just wanna provide a quick update on this one. I've been working on this on and off when I get time, and things are pretty much there but I've hit some strange async issue that's got me stumped at the moment. I should hopefully have something soon.

<!-- gh-comment-id:1734467377 --> @JakeStanger commented on GitHub (Sep 25, 2023): Just wanna provide a quick update on this one. I've been working on this on and off when I get time, and things are *pretty much* there but I've hit some strange async issue that's got me stumped at the moment. I should hopefully have something soon.
Author
Owner

@JakeStanger commented on GitHub (Dec 8, 2023):

Another quick update just to say I've not forgotten this! I never managed to get anywhere with the strange async issue, and the solution I had was getting pretty unwieldy and ugly so I ended up scrapping it.

I have been restructuring a lot of the internals to try and tie the Wayland code a little closer to the rest of the application code and make the core code more event-driven, which the above PR is the first stage towards. It's a lot of work to get there, but once I do this should 🤞 be a trivial fix.

<!-- gh-comment-id:1847932036 --> @JakeStanger commented on GitHub (Dec 8, 2023): Another quick update just to say I've not forgotten this! I never managed to get anywhere with the strange async issue, and the solution I had was getting pretty unwieldy and ugly so I ended up scrapping it. I have been restructuring a lot of the internals to try and tie the Wayland code a little closer to the rest of the application code and make the core code more event-driven, which the above PR is the first stage towards. It's a lot of work to get there, but once I do this should :crossed_fingers: be a trivial fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#4335
No description provided.