Skip to content

Commit 26acc9e

Browse files
committed
remove some bookmarks, thunar plugin handles now
1 parent 40321b3 commit 26acc9e

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

modules/desktop/gtk.nix

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@
55
{
66
homeManager =
77
{ pkgs, osConfig, ... }:
8-
let
9-
systemMounts = [
10-
"/"
11-
"/boot"
12-
"/nix"
13-
"/proc"
14-
"/sys"
15-
"/dev"
16-
"/run"
17-
"/tmp"
18-
];
19-
# Dynamically add bookmarks for Thunar for non system mounts
20-
extraFsBookmarks = map (mp: "file://${mp}") (
21-
builtins.filter (mp: !builtins.elem mp systemMounts) (builtins.attrNames osConfig.fileSystems)
22-
);
23-
in
248
{
259
# Force Home Manager to overwrite existing GTK files
2610
xdg.configFile."gtk-3.0/settings.ini".force = true;
@@ -35,7 +19,6 @@
3519
};
3620
bookmarks = [
3721
"file:///home/${user.userName}/.config"
38-
"file:///home/${user.userName}/.local/share/Trash/files Trash"
3922
"file:///home/${user.userName}/3D"
4023
"file:///home/${user.userName}/Downloads"
4124
"file:///home/${user.userName}/Screenshots"
@@ -44,9 +27,7 @@
4427
"file:///home/${user.userName}/gamedev"
4528
"file:///home/${user.userName}/nix"
4629
"file:///home/${user.userName}/pics"
47-
"file:///synology"
48-
]
49-
++ extraFsBookmarks;
30+
];
5031
};
5132
gtk4 = {
5233
extraConfig = {

0 commit comments

Comments
 (0)