dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

58 lines2064 bytesCSS
1/* Philly (~/git/philly): how the desktop client looks.
2
3 Same recipe as Waybar, fuzzel and the control centre: near-transparent black
4 over the compositor's blur, white text, no borders. The client's window is
5 transparent wherever this theme is, so decoration.blur (modules/home/desktop.nix)
6 does the frosting, exactly as it does for kitty.
7
8 Everything is under [data-desktop], so the same daemon opened in a web
9 browser (which has nothing to blur) keeps its opaque theme. */
10
11:root[data-desktop] {
12 color-scheme: dark;
13 font-family: "NotoSans Nerd Font", "Noto Sans", sans-serif;
14 --mono: "JetBrainsMono Nerd Font", "JetBrains Mono", monospace;
15
16 --text: #ffffff;
17 --muted: rgba(255, 255, 255, 0.55);
18
19 /* Layers of the same black: the window, then one more layer everywhere on
20 top of it. Bars, sidebar and file list get the same one, so the window
21 reads as a single sheet of glass. */
22 --window: rgba(0, 0, 0, 0.1);
23 --surface: rgba(0, 0, 0, 0.1);
24 --content: rgba(0, 0, 0, 0.1);
25 --field: rgba(0, 0, 0, 0.16);
26 --border: transparent;
27
28 /* Menus float over the file list, which Hyprland can't blur for them, so
29 they are nearly solid (the control centre's ink colour) to stay legible. */
30 --popup: rgba(24, 24, 28, 0.92);
31
32 /* Monochrome highlights, like the workspace buttons' hover. */
33 --hover: rgba(255, 255, 255, 0.08);
34 --selected: rgba(255, 255, 255, 0.12);
35 --accent: rgba(255, 255, 255, 0.2);
36 --on-accent: #ffffff;
37 --outline: rgba(255, 255, 255, 0.6);
38 /* How full a disk is, in the sidebar: white, on the faint track behind it. */
39 --meter: rgba(255, 255, 255, 0.75);
40 --danger: #ff6b6b;
41
42 /* Hyprland rounds windows by 10px; controls and rows match it. */
43 --radius: 10px;
44 --row-radius: 10px;
45 --row-inset: 6px;
46
47 /* File type icons, in kitty's palette. */
48 --type-folder: #82aaff;
49 --type-image: #e9c1ff;
50 --type-video: #ff8288;
51 --type-audio: #89ebff;
52 --type-archive: #f4d69f;
53 --type-code: #b4e88d;
54 --type-document: #ff8b92;
55 --type-sheet: #ddffa7;
56 --type-font: rgba(255, 255, 255, 0.55);
57 --type-exec: #9cc4ff;
58}