mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
13 lines
438 B
Diff
13 lines
438 B
Diff
|
diff --git a/ulauncher/utils/Theme.py b/ulauncher/utils/Theme.py
|
||
|
index 9cde624..4e36c4f 100644
|
||
|
--- a/ulauncher/utils/Theme.py
|
||
|
+++ b/ulauncher/utils/Theme.py
|
||
|
@@ -138,6 +138,9 @@ class Theme:
|
||
|
rmtree(new_theme_dir)
|
||
|
copytree(self.path, new_theme_dir)
|
||
|
|
||
|
+ # change file permissions (because Nix store is read-only)
|
||
|
+ os.chmod(new_theme_dir, 0o755)
|
||
|
+
|
||
|
return os.path.join(new_theme_dir, 'generated.css')
|