diff options
author | Yigit Sever | 2025-10-17 12:49:30 +0300 |
---|---|---|
committer | Yigit Sever | 2025-10-17 12:49:30 +0300 |
commit | 38f47911d2c2d0b448a11c799ba195d86a4a3097 (patch) | |
tree | 5c81d6ec4cf090b4e110b275fad1dc333f0c63c0 /.config | |
parent | 9f3fbaf53b3c597136175cc7a16defd8011b1d0b (diff) | |
download | dotfiles-38f47911d2c2d0b448a11c799ba195d86a4a3097.tar.gz dotfiles-38f47911d2c2d0b448a11c799ba195d86a4a3097.tar.bz2 dotfiles-38f47911d2c2d0b448a11c799ba195d86a4a3097.zip |
Diffstat (limited to '.config')
-rw-r--r-- | .config/waybar/config.jsonc | 46 | ||||
-rw-r--r-- | .config/waybar/style.css | 39 |
2 files changed, 58 insertions, 27 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 876d0a9..0736e43 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc | |||
@@ -64,6 +64,9 @@ | |||
64 | "default": "" | 64 | "default": "" |
65 | } | 65 | } |
66 | }, | 66 | }, |
67 | "hyprland/window": { | ||
68 | "max-length": 40 | ||
69 | }, | ||
67 | "keyboard-state": { | 70 | "keyboard-state": { |
68 | "numlock": true, | 71 | "numlock": true, |
69 | "capslock": true, | 72 | "capslock": true, |
@@ -79,7 +82,10 @@ | |||
79 | "sway/scratchpad": { | 82 | "sway/scratchpad": { |
80 | "format": "{icon} {count}", | 83 | "format": "{icon} {count}", |
81 | "show-empty": false, | 84 | "show-empty": false, |
82 | "format-icons": ["", ""], | 85 | "format-icons": [ |
86 | "", | ||
87 | "" | ||
88 | ], | ||
83 | "tooltip": true, | 89 | "tooltip": true, |
84 | "tooltip-format": "{app}: {title}" | 90 | "tooltip-format": "{app}: {title}" |
85 | }, | 91 | }, |
@@ -122,7 +128,7 @@ | |||
122 | }, | 128 | }, |
123 | "clock": { | 129 | "clock": { |
124 | "format": "{:%H:%M | %B %d, %A}", | 130 | "format": "{:%H:%M | %B %d, %A}", |
125 | "tooltip-format": "<tt><small>{calendar}</small></tt>", | 131 | "tooltip-format": "<tt><small>{calendar}</small></tt>" |
126 | }, | 132 | }, |
127 | "cpu": { | 133 | "cpu": { |
128 | "format": "{usage}% ", | 134 | "format": "{usage}% ", |
@@ -137,12 +143,26 @@ | |||
137 | "critical-threshold": 80, | 143 | "critical-threshold": 80, |
138 | // "format-critical": "{temperatureC}°C {icon}", | 144 | // "format-critical": "{temperatureC}°C {icon}", |
139 | "format": "{temperatureC}°C {icon}", | 145 | "format": "{temperatureC}°C {icon}", |
140 | "format-icons": ["", "", ""] | 146 | "format-icons": [ |
147 | "", | ||
148 | "", | ||
149 | "" | ||
150 | ] | ||
141 | }, | 151 | }, |
142 | "backlight": { | 152 | "backlight": { |
143 | // "device": "acpi_video1", | 153 | // "device": "acpi_video1", |
144 | "format": "{percent}% {icon}", | 154 | "format": "{percent}% {icon}", |
145 | "format-icons": ["", "", "", "", "", "", "", "", ""] | 155 | "format-icons": [ |
156 | "", | ||
157 | "", | ||
158 | "", | ||
159 | "", | ||
160 | "", | ||
161 | "", | ||
162 | "", | ||
163 | "", | ||
164 | "" | ||
165 | ] | ||
146 | }, | 166 | }, |
147 | "battery": { | 167 | "battery": { |
148 | "states": { | 168 | "states": { |
@@ -157,7 +177,13 @@ | |||
157 | "format-alt": "{time} {icon}", | 177 | "format-alt": "{time} {icon}", |
158 | // "format-good": "", // An empty format will hide the module | 178 | // "format-good": "", // An empty format will hide the module |
159 | // "format-full": "", | 179 | // "format-full": "", |
160 | "format-icons": ["", "", "", "", ""] | 180 | "format-icons": [ |
181 | "", | ||
182 | "", | ||
183 | "", | ||
184 | "", | ||
185 | "" | ||
186 | ] | ||
161 | }, | 187 | }, |
162 | "battery#bat2": { | 188 | "battery#bat2": { |
163 | "bat": "BAT2" | 189 | "bat": "BAT2" |
@@ -189,7 +215,11 @@ | |||
189 | "phone": "", | 215 | "phone": "", |
190 | "portable": "", | 216 | "portable": "", |
191 | "car": "", | 217 | "car": "", |
192 | "default": [" ", " ", " "] | 218 | "default": [ |
219 | " ", | ||
220 | " ", | ||
221 | " " | ||
222 | ] | ||
193 | }, | 223 | }, |
194 | "on-click": "pavucontrol" | 224 | "on-click": "pavucontrol" |
195 | }, | 225 | }, |
@@ -244,7 +274,7 @@ | |||
244 | "custom/focus": { | 274 | "custom/focus": { |
245 | "exec": "/home/yigit/.config/polybar/scripts/focus", | 275 | "exec": "/home/yigit/.config/polybar/scripts/focus", |
246 | "interval": 5, | 276 | "interval": 5, |
247 | "format": "{}" | 277 | "format": "{}", |
278 | "escape": true | ||
248 | } | 279 | } |
249 | } | 280 | } |
250 | |||
diff --git a/.config/waybar/style.css b/.config/waybar/style.css index f7d05f8..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 { |
117 | to { | 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 | } |
@@ -251,11 +252,11 @@ label:focus { | |||
251 | min-width: 16px; | 252 | min-width: 16px; |
252 | } | 253 | } |
253 | 254 | ||
254 | #keyboard-state > label { | 255 | #keyboard-state>label { |
255 | padding: 0 5px; | 256 | padding: 0 5px; |
256 | } | 257 | } |
257 | 258 | ||
258 | #keyboard-state > label.locked { | 259 | #keyboard-state>label.locked { |
259 | background: rgba(0, 0, 0, 0.2); | 260 | background: rgba(0, 0, 0, 0.2); |
260 | } | 261 | } |
261 | 262 | ||