this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

home/services/waybar: remove stylix dep

Aly Raffauf 0e368ca0 36d90200

+66 -119
+66 -119
modules/home/services/waybar/default.nix
··· 250 250 }; 251 251 252 252 style = lib.mkAfter '' 253 - ${ 254 - lib.optionalString (config.stylix.polarity == "light") " 255 - tooltip { 256 - background: alpha(@base05, ${builtins.toString config.stylix.opacity.desktop}); 257 - color: ${config.lib.stylix.colors.withHashtag.base00}; 258 - }" 253 + tooltip { 254 + border-radius: ${toString 10}px; 259 255 } 260 256 261 - tooltip { 262 - border-radius: ${toString 10}px; 263 - } 257 + #battery, 258 + #bluetooth, 259 + #clock, 260 + #custom-dnd, 261 + #custom-app-close, 262 + #custom-logout, 263 + #custom-menu, 264 + #custom-virtual-keyboard, 265 + #idle_inhibitor, 266 + #mode, 267 + #network, 268 + #power-profiles-daemon, 269 + #pulseaudio, 270 + #submap, 271 + #tray, 272 + #wireplumber { 273 + margin: 0px 5px; 274 + padding: 0px 5px; 275 + } 264 276 265 - #battery, 266 - #bluetooth, 267 - #clock, 268 - #custom-dnd, 269 - #custom-app-close, 270 - #custom-logout, 271 - #custom-menu, 272 - #custom-virtual-keyboard, 273 - #idle_inhibitor, 274 - #mode, 275 - #network, 276 - #power-profiles-daemon, 277 - #pulseaudio, 278 - #submap, 279 - #tray, 280 - #wireplumber { 281 - margin: 0px 5px; 282 - padding: 0px 5px; 283 - } 277 + #clock, 278 + #tablet, 279 + #hardware, 280 + #mode, 281 + #scratchpad, 282 + #session, 283 + #submap, 284 + #workspaces { 285 + margin: 0px 5px; 286 + padding: 0px 2.5px; 287 + } 284 288 285 - #clock, 286 - #tablet, 287 - #hardware, 288 - #mode, 289 - #scratchpad, 290 - #session, 291 - #submap, 292 - #workspaces { 293 - margin: 0px 5px; 294 - padding: 0px 2.5px; 295 - } 289 + #workspaces button { 290 + border-radius: 0px; 291 + } 296 292 297 - #workspaces button { 298 - border-radius: 0px; 299 - } 293 + #workspaces button.active, 294 + #workspaces button.focused { 295 + color: green; 296 + } 300 297 301 - #workspaces button.active, 302 - #workspaces button.focused { 303 - color: ${config.lib.stylix.colors.withHashtag.base0D}; 304 - } 298 + #battery.charging, 299 + #power-profiles-daemon.power-saver { 300 + color: green; 301 + } 305 302 306 - #battery.charging, 307 - #power-profiles-daemon.power-saver { 308 - color: ${config.lib.stylix.colors.withHashtag.base0B}; 309 - } 303 + #battery.critical:not(.charging), 304 + #custom-dnd.on, 305 + #idle_inhibitor.activated, 306 + #network.disabled, 307 + #network.disconnected, 308 + #power-profiles-daemon.performance, 309 + #pulseaudio.muted { 310 + color: red; 311 + } 310 312 311 - #battery.critical:not(.charging), 312 - #custom-dnd.on, 313 - #idle_inhibitor.activated, 314 - #network.disabled, 315 - #network.disconnected, 316 - #power-profiles-daemon.performance, 317 - #pulseaudio.muted { 318 - color: ${config.lib.stylix.colors.withHashtag.base08}; 319 - } 320 - 321 - #submap, 322 - #mode { 323 - background-color: ${config.lib.stylix.colors.withHashtag.base08}; 324 - border-radius: ${toString 10}px; 325 - color: ${config.lib.stylix.colors.withHashtag.base00}; 326 - font-weight: bold; 327 - } 313 + #submap, 314 + #mode { 315 + background-color: red; 316 + border-radius: ${toString 10}px; 317 + color: white; 318 + font-weight: bold; 319 + } 328 320 329 - #tray { 330 - margin: 0px 5px 2px 5px; 331 - padding: 0px 2.5px; 332 - } 321 + #tray { 322 + margin: 0px 5px 2px 5px; 323 + padding: 0px 2.5px; 324 + } 333 325 334 - #waybar { 335 - border-radius: 0; 336 - } 326 + #waybar { 327 + border-radius: 0; 328 + } 337 329 ''; 338 330 339 331 systemd.enable = true; ··· 346 338 347 339 Unit.BindsTo = lib.optional config.wayland.windowManager.hyprland.enable "hyprland-session.target"; 348 340 }; 349 - 350 - xdg.configFile."nwg-drawer/drawer.css".text = '' 351 - window { 352 - background-color: alpha (${config.lib.stylix.colors.withHashtag.base00}, ${toString config.stylix.opacity.popups}); 353 - color: ${config.lib.stylix.colors.withHashtag.base05} 354 - } 355 - 356 - /* search entry */ 357 - entry { 358 - background-color: rgba (0, 0, 0, 0.2); 359 - border: alpha(${config.lib.stylix.colors.withHashtag.base07}, ${toString config.stylix.opacity.popups}); 360 - border-radius: ${toString 10}px 361 - } 362 - 363 - button, image { 364 - background: none; 365 - border: none; 366 - border-radius: ${toString 10}px 367 - } 368 - 369 - button:active, button:hover, button:focused { 370 - background-color: alpha (${config.lib.stylix.colors.withHashtag.base05}, 0.2); 371 - border: none; 372 - border-radius: ${toString 10}px; 373 - color: ${config.lib.stylix.colors.withHashtag.base0D} 374 - } 375 - 376 - #category-button { 377 - margin: 0 10px 0 10px; 378 - border-radius: ${toString 10}px 379 - } 380 - 381 - #pinned-box { 382 - padding-bottom: 5px; 383 - border-bottom: 1px dotted gray 384 - } 385 - 386 - #files-box { 387 - padding: 5px; 388 - border: 1px dotted gray; 389 - border-radius: ${toString 10}px 390 - } 391 - ''; 392 - 393 - stylix.targets.waybar.font = "monospace"; 394 341 }; 395 342 }