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

workspaces.conf location should follow monitors.conf since they are complementary

Open hakan-demirli opened this issue 6 months ago • 0 comments

monitors.conf location can be specified by -m flag. However, workspaces.conf is still using the default location and it is not configurable. I think it should either follow monitors.conf or has its own customizable path.

nwg-displays -m ~/.local/share/hypr/monitors.conf

Error parsing workspaces.conf file: [Errno 2] No such file or directory: '/home/USERNAME/.config/hypr/workspaces.conf'
WS->Mon: ({}, {})
Traceback (most recent call last):
  File "/nix/store/jswzg6ad04gj68qppwkkjc67x7r4nc7z-nwg-displays-0.3.8/lib/python3.10/site-packages/nwg_displays/main.py", line 667, in create_workspaces_window_hypr
    old_workspaces = workspaces.copy()
AttributeError: 'tuple' object has no attribute 'copy'

hakan-demirli avatar Dec 30 '23 01:12 hakan-demirli