Skip to content

Commit f18831c

Browse files
committed
bind-dirs: add x-gvfs-hide mount option to bind dirs
This allows to hide mountpoints from Thunar sidebar (happens when bind mounting a file or dir in $HOME).
1 parent 0a8274b commit f18831c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm-systemd/bind-dirs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ bind_dirs() {
129129

130130
# Bind the fso.
131131
echo "Bind mounting $fso_rw onto $fso_ro" >&2
132-
mount --bind "$fso_rw" "$fso_ro"
132+
mount --bind -o x-gvfs-hide "$fso_rw" "$fso_ro"
133133
done
134134
}
135135

0 commit comments

Comments
 (0)