style.nix 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. { pkgs, lib, ... }:
  2. {
  3. programs.waybar = {
  4. style = ''
  5. * {
  6. border: none;
  7. font-family: "JetBrainsMono Nerd Font", "Material Symbols Outlined";
  8. font-size: 12px;
  9. font-weight: 700;
  10. }
  11. window#waybar {
  12. /*background: rgb(26,28,23);*/
  13. background: rgb(10,1,1);
  14. border-radius: 0px;
  15. }
  16. #custom-clock,
  17. #tray,
  18. #mpris,
  19. #workspaces,
  20. #mode,
  21. #workspace button {
  22. background: rgb(20,2,2);
  23. color: #e6e1e5;
  24. min-width: 12px;
  25. min-height: 12px;
  26. padding: 0 6px;
  27. margin: 2px 2px;
  28. border-radius: 10px;
  29. /*border: 1px solid rgba(255,255,255,0.08);*/
  30. transition: all 0.2s ease;
  31. }
  32. #mode {
  33. background: rgba(57, 150, 181, 0.1);
  34. font-family: "Material Symbols Outlined";
  35. }
  36. #workspaces {
  37. padding: 0;
  38. }
  39. #workspaces button label {
  40. padding: 0;
  41. margin: 0;
  42. }
  43. #workspaces button.active,
  44. #workspaces button.focused {
  45. background: rgba(57, 150, 181, 0.1);
  46. color: white;
  47. }
  48. #workspaces button.urgent {
  49. background: rgba(65, 3, 3, 0.9);
  50. }
  51. #workspaces button:hover {
  52. background: rgba(255,255,255,0.08);
  53. }
  54. #mpris.playing {
  55. background: rgba(57, 150, 181, 0.1);
  56. }
  57. #mpris.spotify.playing {
  58. background: rgba(29,185,84,0.1);
  59. }
  60. #mpris.firefox.playing {
  61. background: rgba(255,102,42,0.1);
  62. }
  63. #pulseaudio,
  64. #network,
  65. #bluetooth,
  66. #battery,
  67. #custom-taskmgr {
  68. font-family: "Material Symbols Outlined";
  69. background: rgb(20,2,2);
  70. color: #e6e1e5;
  71. font-weight: 600;
  72. padding: 0 6px;
  73. margin: 2px 0;
  74. border-radius: 0;
  75. /*border-top: 1px solid rgba(255,255,255,0.08);
  76. border-bottom: 1px solid rgba(255,255,255,0.08);*/
  77. }
  78. #pulseaudio {
  79. font-size: 18px;
  80. }
  81. #bluetooth,
  82. #network {
  83. font-size: 14px;
  84. }
  85. #custom-cap-left {
  86. background: rgb(20,2,2);
  87. margin: 2px 0 2px 2px;
  88. border-radius: 12px 0 0 12px;
  89. padding: 0 1px;
  90. /*border: 1px solid rgba(255,255,255,0.08);
  91. border-right: none;*/
  92. }
  93. #custom-cap-right {
  94. background: rgb(20,2,2);
  95. margin: 2px 2px 2px 0;
  96. border-radius: 0 12px 12px 0;
  97. padding: 0 1px;
  98. /*border: 1px solid rgba(255,255,255,0.08);
  99. border-left: none;*/
  100. }
  101. '';
  102. };
  103. }