-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaybar-style.css
More file actions
144 lines (129 loc) · 2.61 KB
/
waybar-style.css
File metadata and controls
144 lines (129 loc) · 2.61 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
* {
font-size: 12px;
font-family: JetBrainsMono Nerd Font, Material Design Icons;
font-weight: bold;
min-height: 0px;
}
window#waybar {
background-color: alpha(#181825, 0.5);
/* The `spacing` property is a great way to control the gap
between all modules in one place. */
spacing: 4px;
}
#workspaces {
border-radius: 1rem;
background-color: #313244;
/* Add a little space to the left of the workspaces module */
margin-left: 1rem;
/* Add some padding inside the workspaces container */
padding: 0 4px;
}
#workspaces button.text-button {
margin: 0;
padding: 0;
}
#workspaces button {
color: #b4befe;
border-radius: 1rem;
padding: 2px 6px;
}
#workspaces button.active,
#workspaces button.focused {
color: #313244;
background-color: #89b4fa;
border-radius: 1rem;
}
#workspaces button.urgent {
color: #313244;
background-color: #f38ba8;
border-radius: 1rem;
}
#workspaces button.empty {
color: #7f849c;
}
#workspaces button.active.empty {
color: #585b70;
}
#workspaces button:hover {
color: #313244;
background-color: #89b4fa;
}
.modules-left {
}
.modules-center {
border-radius: 1rem;
background-color: #313244;
color: #b4befe;
/* Let's be aggressive with padding here */
padding: 0 0.5rem;
}
.modules-right {
/* Set background color and padding for the entire right side */
background-color: #313244;
border-radius: 1rem;
padding-right: 0.5rem;
}
#tray {
/* Let's remove this rule and let the `.modules-right` style handle the container */
/* This simplifies the CSS and saves space */
}
#sway-mode {
border-radius: 1rem;
background-color: #89b4fa;
color: #313244;
/* Aggressive padding */
padding: 0 0.5rem;
}
tooltip {
background: #1e1e2e;
border: 1px solid #89b4fa;
}
tooltip label {
color: #cdd6f4;
}
/* Let's remove all margins from individual modules and let `spacing`
on `window#waybar` handle the gaps. This is the most effective way
to fix the overlap and cutoff issue. */
#custom-search,
#custom-power,
#custom-notification,
#custom-todo,
#custom-lock,
#custom-weather,
#custom-btc,
#custom-eth,
#bluetooth,
#battery,
#backlight,
#volume,
#tray,
#pulseaudio,
#network,
#cpu,
#memory,
#disk {
color: #b4befe;
/* Removed all margin-left and margin-right properties */
}
#custom-power {
/* Added padding to the end of the bar */
padding-right: 8px;
}
#custom-launcher {
font-size: 18px;
/* Added padding to the beginning of the bar */
padding-left: 8px;
}
#backlight {
padding-right: 2px;
color: #f9e2af;
}
#battery {
color: #a6e3a1;
}
#battery.warning {
color: #f9e2af;
}
#battery.critical:not(.charging) {
color: #f38ba8;
}