-
Notifications
You must be signed in to change notification settings - Fork 1
/
dock.nix
40 lines (37 loc) · 1.21 KB
/
dock.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
{ config, lib, pkgs, ... }:
{
system.defaults.dock = {
# Whether to automatically hide and show the Dock. Default is false.
autohide = false;
# Sets the speed of the autohide delay. Default is "0.24".
autohide-delay = 0.0;
# Sets the speed of animation when hiding/showing the Dock. Default is "1.0".
autohide-time-modifier = 1.0;
# Position of dock. Default is "bottom"; alternatives are "left" and "right".
orientation = "bottom";
# Whether to make icons of hidden applications translucent. Default is false.
showhidden = true;
# Show recent applications in the dock. Default is true.
show-recents = false;
# Show only open applications in the Dock. Default is false.
static-only = false;
# Size of the icons in the Dock. Default is 64.
tilesize = 32;
};
targets.darwin.dock = {
# Apps to be added to Dock.
apps = [
"Brave Browser"
"Rider"
"Visual Studio Code"
"iTerm"
"Slack"
"Telegram"
];
# "Others" section in Dock (the one after the bar, where the Bin sits).
others = [
({ path = "/Applications"; })
({ path = "${config.user.home}/Downloads"; sort = "dateadded"; view = "fan"; })
];
};
}