aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/style.nix
blob: 5ec80701e297aeba549f23eaa13a8daf64dd9e51 (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ config }:
with config.scheme.withHashtag;
''
  * {
    border: none;
    border-radius: 0;
    font-family: "${config.fonts.normal}";
    font-size: ${toString config.fonts.size}px;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  #workspaces, #window, #pulseaudio, #battery, #custom-vpn, #network,
  #clock.time, #memory, #cpu, #clock.date {
    background: ${base00};
    margin: 0 2px;
  }

  #workspaces {
    border: none;
    margin-left: 2.5px;
  }

  #clock.date {
    margin-right: 4.5px;
  }

  #window, #pulseaudio, #battery, #custom-vpn, #network,
  #clock.time, #memory, #cpu, #clock.date {
    border: 1.5px solid ${base03};
    color: ${base07};
    padding: 0 8px;
  }

  #workspaces button {
    padding: 3px;
    color: ${base07};
    border: 1.5px solid ${base03};
    border-radius: 0;
    min-width: 24px;
    min-height: 24px;
    margin: 0 2px;
  }

  #workspaces button:hover {
    background: ${base01};
  }

  #workspaces button.active {
    background: ${base03};
  }

  #workspaces button.urgent {
    background: ${base08};
    border-color: ${base08};
  }
''