Update some mimetypes, add xarchiver for thunar-archive-plugin
This commit is contained in:
parent
b2378517d8
commit
22ef09119d
|
@ -14,18 +14,18 @@
|
||||||
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
|
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
|
||||||
};
|
};
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
swaylock-effects
|
|
||||||
hyprpaper
|
|
||||||
xdg-utils
|
|
||||||
wtype
|
wtype
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
xarchiver
|
||||||
|
xdg-utils
|
||||||
|
swaylock-effects
|
||||||
|
hyprpaper
|
||||||
swayimg
|
swayimg
|
||||||
pamixer
|
pamixer
|
||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
brightnessctl
|
brightnessctl
|
||||||
mpv
|
mpv
|
||||||
streamlink
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
|
@ -56,8 +56,8 @@
|
||||||
"inode/directory" = emacs;
|
"inode/directory" = emacs;
|
||||||
"inode/symlink" = emacs;
|
"inode/symlink" = emacs;
|
||||||
|
|
||||||
"image/jpeg" = ["swayimg.desktop"] ++ emacs;
|
"image/jpeg" = ["swayimg.desktop"];
|
||||||
"image/png" = ["swayimg.desktop"] ++ emacs;
|
"image/png" = ["swayimg.desktop"];
|
||||||
"video/mp4" = ["mpv.desktop"];
|
"video/mp4" = ["mpv.desktop"];
|
||||||
|
|
||||||
"text/plain" = emacs;
|
"text/plain" = emacs;
|
||||||
|
@ -87,14 +87,16 @@
|
||||||
"application/toml" = emacs;
|
"application/toml" = emacs;
|
||||||
"application/yaml" = emacs;
|
"application/yaml" = emacs;
|
||||||
"application/xml" = emacs;
|
"application/xml" = emacs;
|
||||||
"application/pdf" = emacs;
|
|
||||||
"application/epub+zip" = emacs;
|
|
||||||
"application/rss+xml" = emacs;
|
"application/rss+xml" = emacs;
|
||||||
|
"application/xhtml+xml" = emacs;
|
||||||
"application/oxps" = emacs;
|
"application/oxps" = emacs;
|
||||||
# "application/msword" = emacs;
|
|
||||||
"application/xhtml+xml" = browser;
|
|
||||||
|
|
||||||
"application/x-shellscript" = emacs;
|
"application/x-shellscript" = emacs;
|
||||||
|
|
||||||
|
"application/pdf" = ["mupdf.desktop"];
|
||||||
|
"application/epub+zip" = ["mupdf.desktop"];
|
||||||
|
"application/msword" = ["writer.desktop"];
|
||||||
|
"application/zip" = ["xarchiver.desktop"];
|
||||||
|
|
||||||
"application/x-extension-htm" = browser;
|
"application/x-extension-htm" = browser;
|
||||||
"application/x-extension-html" = browser;
|
"application/x-extension-html" = browser;
|
||||||
"application/x-extension-shtml" = browser;
|
"application/x-extension-shtml" = browser;
|
||||||
|
@ -108,19 +110,16 @@
|
||||||
"x-scheme-handler/chrome" = browser;
|
"x-scheme-handler/chrome" = browser;
|
||||||
"x-scheme-handler/webcal" = browser;
|
"x-scheme-handler/webcal" = browser;
|
||||||
"x-scheme-handler/unknown" = emacs;
|
"x-scheme-handler/unknown" = emacs;
|
||||||
# "x-scheme-handler/ms-word" = emacs;
|
|
||||||
# "x-scheme-handler/ms-powerpoint" = emacs;
|
"x-scheme-handler/ms-word" = ["writer.desktop"];
|
||||||
# "x-scheme-handler/ms-excel" = emacs;
|
"x-scheme-handler/ms-powerpoint" = ["impress.desktop"];
|
||||||
# "x-scheme-handler/msteams" = ["teams-for-linux.desktop"];
|
"x-scheme-handler/ms-excel" = ["calc.desktop"];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = applications;
|
defaultApplications = applications;
|
||||||
addedAssociations = applications;
|
addedAssociations = applications;
|
||||||
removedAssociations = {
|
removedAssociations = {"x-scheme-handler/zoomus" = browser;};
|
||||||
"x-scheme-handler/msteams" = browser;
|
|
||||||
"x-scheme-handler/zoomus" = browser;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue