]> git.ralfj.de Git - bubblebox.git/commitdiff
add symlink helper
authorRalf Jung <post@ralfj.de>
Fri, 31 Jul 2026 09:42:25 +0000 (11:42 +0200)
committerRalf Jung <post@ralfj.de>
Fri, 31 Jul 2026 09:42:25 +0000 (11:42 +0200)
bubblebox.py

index a6b9d96d9f19f9d4085ba937de63562607da722f..a3c2d74db32ccc98301177bcbc0ea97bc7d30178 100644 (file)
@@ -165,5 +165,8 @@ def host_access(dirs):
 def home_access(dirs):
     return host_access({ HOME: dirs })
 
 def home_access(dirs):
     return host_access({ HOME: dirs })
 
+def home_symlink(dest, link):
+    return bwrap_flags("--symlink", HOME + dest, HOME + link)
+
 # Profile the profiles when importing bubblebox.
 import profiles
 # Profile the profiles when importing bubblebox.
 import profiles