Skip to content

Commit

Permalink
set nwg-shell sample_dir, if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Oct 31, 2022
1 parent e5ff86e commit 0232e22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions azote/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ def set_env(language=None):
if os.path.isdir('/usr/share/backgrounds/archlabs'):
common.sample_dir = '/usr/share/backgrounds/archlabs'

if os.path.isdir('/usr/share/backgrounds/nwg-shell'):
common.sample_dir = '/usr/share/backgrounds/nwg-shell'

common.settings = Settings()
if common.settings.clear_thumbnails:
clear_thumbnails(clear_all=True)
Expand Down

0 comments on commit 0232e22

Please sign in to comment.