mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-27 13:33:57 +02:00
fix(nixpak): allow document portal saves
This commit is contained in:
@@ -205,6 +205,10 @@ in
|
|||||||
xdgCacheHome
|
xdgCacheHome
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# FileChooser may return a Document Portal path even for a directly mapped XDG directory;
|
||||||
|
# keep the FUSE mount writable so SaveFile can create the selected file.
|
||||||
|
(sloth.concat' sloth.runtimeDir "/doc")
|
||||||
|
|
||||||
(sloth.concat [
|
(sloth.concat [
|
||||||
sloth.runtimeDir
|
sloth.runtimeDir
|
||||||
"/"
|
"/"
|
||||||
@@ -220,7 +224,6 @@ in
|
|||||||
(sloth.concat' sloth.xdgCacheHome "/radv_builtin_shaders")
|
(sloth.concat' sloth.xdgCacheHome "/radv_builtin_shaders")
|
||||||
];
|
];
|
||||||
bind.ro = [
|
bind.ro = [
|
||||||
(sloth.concat' sloth.runtimeDir "/doc")
|
|
||||||
(sloth.concat' sloth.xdgConfigHome "/kdeglobals")
|
(sloth.concat' sloth.xdgConfigHome "/kdeglobals")
|
||||||
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
|
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
|
||||||
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
|
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ in
|
|||||||
"/run/dbus"
|
"/run/dbus"
|
||||||
];
|
];
|
||||||
bind.ro = [
|
bind.ro = [
|
||||||
(envSuffix "XDG_RUNTIME_DIR" "/doc")
|
|
||||||
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
|
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
|
||||||
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
|
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
|
||||||
(sloth.concat' sloth.xdgConfigHome "/gtk-4.0")
|
(sloth.concat' sloth.xdgConfigHome "/gtk-4.0")
|
||||||
|
|||||||
Reference in New Issue
Block a user