feat(files+applications): xdg, applications
applications: refactored some to home-manager files: configured home-manager xdg.config to use certain applications xdg portal: override for portal to use gtk instead of gnome for file picking
This commit is contained in:
1 parent
b112b8a5b6
commit
5a55a57786
5 files changed
+42
-6
No files matched your search
+26
-2
@@ -55,12 +55,15 @@
|
||||
(with pkgs; [
|
||||
# --- General utils ---
|
||||
libreoffice # Microsoft replace
|
||||
hunspell
|
||||
hunspell # auto spell for libre
|
||||
hunspellDicts.en_US
|
||||
matugen
|
||||
frogmouth
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
# --- General Utils ---
|
||||
cine
|
||||
gthumb
|
||||
# --- Creative utils ---
|
||||
obs-studio
|
||||
shotcut
|
||||
@@ -78,13 +81,34 @@
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"inode/directory" = [ "kitty-open.desktop" ];
|
||||
# Use "nemo.desktop" for GUI, or "org.wezfurlong.wezterm.desktop" for terminal
|
||||
"inode/directory" = [ "org.wezfurlong.wezterm.desktop" ];
|
||||
|
||||
# Images: gThumb
|
||||
"image/jpeg" = [ "org.gnome.gThumb.desktop" ];
|
||||
"image/png" = [ "org.gnome.gThumb.desktop" ];
|
||||
"image/gif" = [ "org.gnome.gThumb.desktop" ];
|
||||
"image/webp" = [ "org.gnome.gThumb.desktop" ];
|
||||
"image/tiff" = [ "org.gnome.gThumb.desktop" ];
|
||||
"image/bmp" = [ "org.gnome.gThumb.desktop" ];
|
||||
|
||||
# Documents: Okular
|
||||
"application/pdf" = [ "org.kde.okular.desktop" ];
|
||||
"application/epub+zip" = [ "org.kde.okular.desktop" ];
|
||||
|
||||
# Videos: Cine
|
||||
"video/mp4" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
"video/x-matroska" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
"video/webm" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
"video/quicktime" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
"video/x-msvideo" = [ "io.github.diegopvlk.Cine.desktop" ];
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/cinnamon/desktop/applications/terminal" = {
|
||||
exec = "wezterm";
|
||||
exec-arg = "start --cwd";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user