blob: ef0828942e992197633ebc7706ac068e301f6ed9 (
plain) (
tree)
|
|
{ pkgs, ... }: {
home.packages = with pkgs; [ xfce.tumbler ];
xdg.desktopEntries.llpp = {
name = "llpp";
genericName = "PDF viewer";
exec = "llpp %f";
terminal = false;
categories = [ "Graphics" "Viewer" ];
mimeType = [ "application/pdf" "application/x-pdf" ];
type = "Application";
};
xdg.mimeApps.enable = true;
home.sessionVariables = {
XMODIFIERS = "@im=fcitx";
XMODIFIER = "@im=fcitx";
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
};
home.file = {
".config/waybar/config".source = ../waybar/config;
".config/waybar/style.css".source = ../waybar/style.css;
".config/sway/config".source = ../sway/config;
".config/wayfire.ini".source = ../wayfire/wayfire.ini;
};
xdg.mimeApps.defaultApplications = {
"application/pdf" = [ "org.gnome.Evince.desktop" ];
"image/jpeg" = [ "org.gnome.eog.desktop" ];
"image/png" = [ "org.gnome.eog.desktop" ];
"text/plain" = [ "org.gnome.gedit.desktop" ];
};
}
|