aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/style.nix
blob: fead24e362db2607d9b1fd611ff9568d729bf7aa (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
59
60
61
62
{ 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 5px;
  }

  #workspaces {
    border: none;
    margin-right: 0;
  }

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

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

  #workspaces button {
    padding: 5px;
    color: ${base07};
    border: 1px solid ${base03};
    border-radius: 0;
    min-width: 0px;
    min-height: 0px;
    margin: 0 5px;
    font-size: 24px;
  }

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

  #workspaces button.active {
    border-color: ${base07};
  }

  #workspaces button.empty {
    color: ${base03};
  }

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