1
0

style.nix 2.4 KB

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