Skip to content

Commit

Permalink
usr: gui: gnome: activation.nautilus_bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Dec 27, 2023
1 parent bf3b8aa commit aae5e76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/gui/gnome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ in {

# inspired by https://discourse.nixos.org/t/how-to-set-the-bookmarks-in-nautilus/36143
home.activation.nautilus_bookmarks = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
# WSL2 may not have folder ~/.config/gtk-3.0
$DRY_RUN_CMD mkdir -p $VERBOSE_ARG ~/.config/gtk-3.0
$DRY_RUN_CMD ln -sf $VERBOSE_ARG ~/Gist/Config/nautilus_bookmarks ~/.config/gtk-3.0/bookmarks
'';
}

0 comments on commit aae5e76

Please sign in to comment.