summaryrefslogtreecommitdiffstats
path: root/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config.jsonc53
-rw-r--r--.config/waybar/style.css46
2 files changed, 66 insertions, 33 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index 373ac78..0736e43 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -29,11 +29,14 @@
29 // "battery#bat2", 29 // "battery#bat2",
30 "clock", 30 "clock",
31 "privacy", 31 "privacy",
32 "hyprland/language",
32 "tray" 33 "tray"
33 ], 34 ],
34 // Modules configuration 35 // Modules configuration
35 "hyprland/window": { 36 "hyprland/language": {
36 "max-length": 40 37 "format": "{}",
38 "format-en-colemak": "EN",
39 "format-tr": "TR"
37 }, 40 },
38 "hyprland/workspaces": { 41 "hyprland/workspaces": {
39 "disable-scroll": true, 42 "disable-scroll": true,
@@ -61,6 +64,9 @@
61 "default": "" 64 "default": ""
62 } 65 }
63 }, 66 },
67 "hyprland/window": {
68 "max-length": 40
69 },
64 "keyboard-state": { 70 "keyboard-state": {
65 "numlock": true, 71 "numlock": true,
66 "capslock": true, 72 "capslock": true,
@@ -76,7 +82,10 @@
76 "sway/scratchpad": { 82 "sway/scratchpad": {
77 "format": "{icon} {count}", 83 "format": "{icon} {count}",
78 "show-empty": false, 84 "show-empty": false,
79 "format-icons": ["", ""], 85 "format-icons": [
86 "",
87 ""
88 ],
80 "tooltip": true, 89 "tooltip": true,
81 "tooltip-format": "{app}: {title}" 90 "tooltip-format": "{app}: {title}"
82 }, 91 },
@@ -119,7 +128,7 @@
119 }, 128 },
120 "clock": { 129 "clock": {
121 "format": "{:%H:%M | %B %d, %A}", 130 "format": "{:%H:%M | %B %d, %A}",
122 "tooltip-format": "<tt><small>{calendar}</small></tt>", 131 "tooltip-format": "<tt><small>{calendar}</small></tt>"
123 }, 132 },
124 "cpu": { 133 "cpu": {
125 "format": "{usage}% ", 134 "format": "{usage}% ",
@@ -134,12 +143,26 @@
134 "critical-threshold": 80, 143 "critical-threshold": 80,
135 // "format-critical": "{temperatureC}°C {icon}", 144 // "format-critical": "{temperatureC}°C {icon}",
136 "format": "{temperatureC}°C {icon}", 145 "format": "{temperatureC}°C {icon}",
137 "format-icons": ["", "", ""] 146 "format-icons": [
147 "",
148 "",
149 ""
150 ]
138 }, 151 },
139 "backlight": { 152 "backlight": {
140 // "device": "acpi_video1", 153 // "device": "acpi_video1",
141 "format": "{percent}% {icon}", 154 "format": "{percent}% {icon}",
142 "format-icons": ["", "", "", "", "", "", "", "", ""] 155 "format-icons": [
156 "",
157 "",
158 "",
159 "",
160 "",
161 "",
162 "",
163 "",
164 ""
165 ]
143 }, 166 },
144 "battery": { 167 "battery": {
145 "states": { 168 "states": {
@@ -154,7 +177,13 @@
154 "format-alt": "{time} {icon}", 177 "format-alt": "{time} {icon}",
155 // "format-good": "", // An empty format will hide the module 178 // "format-good": "", // An empty format will hide the module
156 // "format-full": "", 179 // "format-full": "",
157 "format-icons": ["", "", "", "", ""] 180 "format-icons": [
181 "",
182 "",
183 "",
184 "",
185 ""
186 ]
158 }, 187 },
159 "battery#bat2": { 188 "battery#bat2": {
160 "bat": "BAT2" 189 "bat": "BAT2"
@@ -186,7 +215,11 @@
186 "phone": "", 215 "phone": "",
187 "portable": "", 216 "portable": "",
188 "car": "", 217 "car": "",
189 "default": [" ", " ", " "] 218 "default": [
219 " ",
220 " ",
221 " "
222 ]
190 }, 223 },
191 "on-click": "pavucontrol" 224 "on-click": "pavucontrol"
192 }, 225 },
@@ -241,7 +274,7 @@
241 "custom/focus": { 274 "custom/focus": {
242 "exec": "/home/yigit/.config/polybar/scripts/focus", 275 "exec": "/home/yigit/.config/polybar/scripts/focus",
243 "interval": 5, 276 "interval": 5,
244 "format": "{}" 277 "format": "{}",
278 "escape": true
245 } 279 }
246} 280}
247
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 7db875f..231798a 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -1,14 +1,14 @@
1@import "latte.css"; 1@import "latte.css";
2 2
3* { 3* {
4 border: none; 4 border: none;
5 border-radius: 0; 5 border-radius: 0;
6 font-family: FontAwesome, scientifica; 6 font-family: FontAwesome, scientifica;
7 font-size: 14px; 7 font-size: 14px;
8 min-height: 0; 8 min-height: 0;
9 box-shadow: none; 9 box-shadow: none;
10 text-shadow: none; 10 text-shadow: none;
11 transition-duration: 0s; 11 transition-duration: 0s;
12 color: @text; 12 color: @text;
13} 13}
14 14
@@ -87,12 +87,12 @@ button:hover {
87} 87}
88 88
89/* If workspaces is the leftmost module, omit left margin */ 89/* If workspaces is the leftmost module, omit left margin */
90.modules-left > widget:first-child > #workspaces { 90.modules-left>widget:first-child>#workspaces {
91 margin-left: 0; 91 margin-left: 0;
92} 92}
93 93
94/* If workspaces is the rightmost module, omit right margin */ 94/* If workspaces is the rightmost module, omit right margin */
95.modules-right > widget:last-child > #workspaces { 95.modules-right>widget:last-child>#workspaces {
96 margin-right: 0; 96 margin-right: 0;
97} 97}
98 98
@@ -109,15 +109,16 @@ tooltip.background {
109 background-color: #ffffff; 109 background-color: #ffffff;
110} 110}
111 111
112#battery.charging, #battery.plugged { 112#battery.charging,
113#battery.plugged {
113 background-color: #26A65B; 114 background-color: #26A65B;
114} 115}
115 116
116@keyframes blink { 117@keyframes blink {
117to { 118 to {
118 background-color: #ffffff; 119 background-color: #ffffff;
119 color: #000000; 120 color: #000000;
120} 121 }
121} 122}
122 123
123/* Using steps() instead of linear as a timing function to limit cpu usage */ 124/* Using steps() instead of linear as a timing function to limit cpu usage */
@@ -200,11 +201,11 @@ label:focus {
200 background-color: @sapphire; 201 background-color: @sapphire;
201} 202}
202 203
203#tray > .passive { 204#tray>.passive {
204 -gtk-icon-effect: dim; 205 -gtk-icon-effect: dim;
205} 206}
206 207
207#tray > .needs-attention { 208#tray>.needs-attention {
208 -gtk-icon-effect: highlight; 209 -gtk-icon-effect: highlight;
209 background-color: @red; 210 background-color: @red;
210} 211}
@@ -239,10 +240,9 @@ label:focus {
239} 240}
240 241
241#language { 242#language {
242 background: #00b093; 243 background: #89b4fa;
243 padding: 0 5px; 244 padding: 0 10px;
244 margin: 0 5px; 245 min-width: 12px;
245 min-width: 16px;
246} 246}
247 247
248#keyboard-state { 248#keyboard-state {
@@ -252,11 +252,11 @@ label:focus {
252 min-width: 16px; 252 min-width: 16px;
253} 253}
254 254
255#keyboard-state > label { 255#keyboard-state>label {
256 padding: 0 5px; 256 padding: 0 5px;
257} 257}
258 258
259#keyboard-state > label.locked { 259#keyboard-state>label.locked {
260 background: rgba(0, 0, 0, 0.2); 260 background: rgba(0, 0, 0, 0.2);
261} 261}
262 262