-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathulauncher.nix
44 lines (44 loc) · 1.12 KB
/
ulauncher.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
config,
lib,
pkgs,
...
}: let
cfg = config.omakix;
in {
config = lib.mkIf cfg.enable {
# Ulauncher
home.file.".config/autostart/ulauncher.desktop" = {
text = ''
[Desktop Entry]
Name=Ulauncher
Comment=Application launcher for Linux
GenericName=Launcher
Categories=GNOME;GTK;Utility;
TryExec=${pkgs.ulauncher}/bin/ulauncher
Exec=env GDK_BACKEND=x11 ${pkgs.ulauncher}/bin/ulauncher --hide-window --hide-window
Icon=ulauncher
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true
'';
force = true; # overwrite existing
};
home.file.".config/ulauncher/settings.json" = {
text = ''
{
"clear-previous-query": true,
"disable-desktop-filters": false,
"grab-mouse-pointer": false,
"hotkey-show-app": "null",
"render-on-screen": "mouse-pointer-monitor",
"show-indicator-icon": true,
"show-recent-apps": "0",
"terminal-command": "",
"theme-name": "dark"
}
'';
force = true;
};
};
}