naitokosuke · dotfiles

The Dock auto-hides and keeps recent apps off, so its width stays predictable, with a small tile that magnifies on hover.

Sizing and animation

Tiles render at 50px and magnify to 64px on hover. scale is sharper than the genie effect, and launchanim = false drops the bouncing icon during app launch.

lines 11–16
11
12
13
14
15
16    tilesize = 50;
    magnification = true;
    largesize = 64;
    orientation = "bottom";
    mineffect = "scale";
    launchanim = false;
View the complete file19 lines · dock.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19# The Dock auto-hides and keeps recent apps off, so its width stays
# predictable, with a small tile that magnifies on hover.
{
  system.defaults.dock = {
    autohide = true;
    show-recents = false;
    ## Sizing and animation
    # Tiles render at 50px and magnify to 64px on hover. `scale` is sharper
    # than the genie effect, and `launchanim = false` drops the bouncing icon
    # during app launch.
    tilesize = 50;
    magnification = true;
    largesize = 64;
    orientation = "bottom";
    mineffect = "scale";
    launchanim = false;
  };
}
19 lines·558 chars·NIX