use Thunar on gnome
This commit is contained in:
parent
351533110f
commit
9cbb9b348b
3 changed files with 7 additions and 13 deletions
|
|
@ -52,9 +52,10 @@ in
|
|||
"rounded-window-corners@fxgn"
|
||||
];
|
||||
favorite-apps = [
|
||||
"org.gnome.Nautilus.desktop"
|
||||
"Thunar.desktop"
|
||||
"com.mitchellh.ghostty.desktop"
|
||||
"firefox.desktop"
|
||||
"obsidian.desktop"
|
||||
"org.keepassxc.KeePassXC.desktop"
|
||||
];
|
||||
};
|
||||
|
|
@ -76,12 +77,6 @@ in
|
|||
history-length = mkUint32 100;
|
||||
};
|
||||
|
||||
# Nautilus (GNOME Files) configuration
|
||||
"org/gnome/nautilus/preferences" = {
|
||||
show-hidden-files = true;
|
||||
default-folder-viewer = "list-view";
|
||||
};
|
||||
|
||||
# Disable GNOME Software auto-updates
|
||||
"org/gnome/software" = {
|
||||
download-updates = false;
|
||||
|
|
@ -174,6 +169,7 @@ in
|
|||
++ [
|
||||
gnomeExtensions.pano
|
||||
gnomeExtensions.rounded-window-corners
|
||||
xfce.thunar
|
||||
];
|
||||
|
||||
# Custom desktop file for opening text files with Neovim in Ghostty
|
||||
|
|
@ -193,6 +189,9 @@ in
|
|||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
# Directories
|
||||
"inode/directory" = "Thunar.desktop";
|
||||
|
||||
# PDF documents
|
||||
"application/pdf" = "org.gnome.Evince.desktop";
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ in
|
|||
snapshot # camera
|
||||
totem # video player
|
||||
yelp # help viewer
|
||||
nautilus # file manager (using Thunar instead)
|
||||
];
|
||||
|
||||
# XDG portal for proper desktop integration
|
||||
|
|
|
|||
|
|
@ -425,12 +425,6 @@
|
|||
|
||||
# Hyprland-specific shell configuration
|
||||
programs.zsh.initContent = ''
|
||||
# Open current directory in Thunar file manager (background)
|
||||
open() {
|
||||
thunar "''${1:-.}" &>/dev/null &
|
||||
disown
|
||||
}
|
||||
|
||||
# Quickly restart Hyprland session (graceful logout)
|
||||
alias hypr-restart='loginctl terminate-session'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue