nwg-displays icon indicating copy to clipboard operation
nwg-displays copied to clipboard

Error when workspaces.conf is missing

Open herrwusel opened this issue 6 months ago • 0 comments

When the workspaces button is clicked, nwg-display just assumes there is a workspaces.conf under $HOME/.config/hypr/ which was not true for me.

Error parsing workspaces.conf file: [Errno 2] No such file or directory: '/home/user/.config/hypr/workspaces.conf'
WS->Mon: ({}, {})
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/nwg_displays/main.py", line 666, in create_workspaces_window_hypr
    old_workspaces = workspaces.copy()
                     ^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'copy'

herrwusel avatar Dec 22 '23 06:12 herrwusel