summaryrefslogtreecommitdiff
path: root/nixpkgs/wmonly.nix
blob: fbc53247681cd88dd2958cd098e46ead5ebdb4bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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";
  };
}