aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/style.mustache.css
blob: ddeaa88257f41bbe70b1de8d3ec91f10a6e422f2 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
 * Waybar Style — Base16 "OneDark Dark" (olimorris)
 * Mustache template: render with a base16 color map to produce a .css file
 *
 * base00 - default background
 * base01 - lighter background (status bar, line numbers)
 * base02 - selection background
 * base03 - comments, invisibles
 * base04 - dark foreground (status bar)
 * base05 - default foreground
 * base06 - light foreground
 * base07 - lightest foreground
 * base08 - red      (errors, urgent)
 * base09 - orange    (numbers)
 * base0A - yellow    (search matches)
 * base0B - green     (strings)
 * base0C - cyan      (support, regex)
 * base0D - blue      (functions, active/selected)
 * base0E - purple/magenta (keywords)
 * base0F - brown     (deprecated)
 */

* {
  border: none;
  border-radius: 0;
  font-family: "Fira Code Nerd Font";
  font-size: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
}

window#waybar {
  background: transparent;
}

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

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

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

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

#workspaces button {
  padding: 0px 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: #{{base00}};
  border-color: #{{base05}};
}

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

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

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