summaryrefslogblamecommitdiff
path: root/nixpkgs/wmonly.nix
blob: fbc53247681cd88dd2958cd098e46ead5ebdb4bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                         
 
                             





                             

    
{ 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";
  };
}