summary refs log tree commit diff
path: root/pkgs/applications/misc/ulauncher/fix-permissions.patch
blob: 9d743c950f9db32fd050ee0d36852da0e8d367c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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')