Advertisement
PROPESSOR

Waybar

Jun 6th, 2025
13
0
5 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.11 KB | None | 0 0
  1. # Waybar Nick's modules/home/gui/desktop/wayland/waybar/config
  2. programs.waybar = {
  3. enable = true;
  4. settings = [
  5. {
  6. layer = "top";
  7. position = "bottom";
  8. height = 5;
  9. spacing = 10;
  10. modules-left = [
  11. "custom/launcher"
  12. "custom/exit"
  13. ];
  14. modules-center = [ "hyprland/workspaces" ];
  15. modules-right = [
  16. "bluetooth"
  17. "tray"
  18. "privacy"
  19. "pulseaudio"
  20. "battery"
  21. "network"
  22. "clock"
  23. ];
  24.  
  25. "custom/launcher" = {
  26. format = "";
  27. on-click = "fuzzel";
  28. tooltip = false;
  29. };
  30.  
  31. "custom/exit" = {
  32. format = "";
  33. on-click = "wlogout";
  34. tooltip-format = "Power Menu";
  35. };
  36. "hyprland/workspaces" = {
  37. active-only = false;
  38. disable-scroll = true;
  39. format = "{icon}";
  40. on-click = "activate";
  41. format-icons = {
  42. "1" = "◉";
  43. "2" = "◉";
  44. "3" = "◉";
  45. "4" = "◉";
  46. "5" = "◉";
  47. urgent = "";
  48. default = "◉";
  49. sort-by-number = true;
  50. };
  51. persistent-workspaces = {
  52. "1" = [ ];
  53. "2" = [ ];
  54. "3" = [ ];
  55. "4" = [ ];
  56. "5" = [ ];
  57. };
  58. };
  59.  
  60. "bluetooth" = {
  61. format = "{status}";
  62. format-disabled = "";
  63. format-off = "";
  64. interval = 30;
  65. on-click = "blueman-applet";
  66. format-no-controller = "";
  67. };
  68.  
  69. "tray" = {
  70. icon-size = 12;
  71. spacing = 8;
  72. };
  73.  
  74. "privacy" = {
  75. icon-spacing = 8;
  76. icon-size = 12;
  77. transition-duration = 250;
  78. modules = {
  79. screenshare = {
  80. type = "screenshare";
  81. tooltip = true;
  82. tooltip-icon-size = 12;
  83. };
  84. audio-out = {
  85. type = "audio-out";
  86. tooltip = true;
  87. tooltip-icon-size = 12;
  88. };
  89. audio-in = {
  90. type = "audio-in";
  91. tooltip = true;
  92. tooltip-icon-size = 12;
  93. };
  94. };
  95. };
  96.  
  97. "pulseaudio" = {
  98. format = "{icon} {volume}%";
  99. tooltip = false;
  100. format-muted = " Muted";
  101. on-click = "pavucontrol";
  102. on-scroll-up = "pactl set-sink-volume @DEFAULT_SINK@ +5%";
  103. on-scroll-down = "pactl set-sink-volume @DEFAULT_SINK@ -5%";
  104. scroll-step = 5;
  105. format-icons = {
  106. headphone = "";
  107. hands-free = "";
  108. headset = "";
  109. phone = "";
  110. portable = "";
  111. car = "";
  112. default = [
  113. ""
  114. ""
  115. ""
  116. ];
  117. };
  118. };
  119.  
  120. "battery" = {
  121. format = "{icon} {capacity}%";
  122. format-alt = "{icon} {time}";
  123. format-charging = " {capacity}%";
  124. format-icons = [
  125. ""
  126. ""
  127. ""
  128. ""
  129. ""
  130. ];
  131. format-plugged = " {capacity}%";
  132. states = {
  133. critical = 15;
  134. warning = 30;
  135. };
  136. };
  137.  
  138. "network" = {
  139. format-wifi = " {signalStrength}%";
  140. format-ethernet = "󰀂 ";
  141. tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
  142. format-linked = "{ifname} (No IP)";
  143. format-disconnected = "󰖪 ";
  144. };
  145.  
  146. "clock" = {
  147. calendar = {
  148. format = {
  149. today = "<span color='#ff6699'><b><u>{}</u></b></span>";
  150. };
  151. };
  152. format = " {:%H:%M}";
  153. tooltip = true;
  154. tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
  155. format-alt = " {:%d/%m}";
  156. };
  157. }
  158. ];
  159.  
  160. style = ''
  161. * {
  162. min-height: 34px;
  163. border-radius:0;
  164. font-family: "TeX Gyre Termes";
  165. font-weight: bold;
  166. }
  167.  
  168. window#waybar {
  169. background: #262626;
  170. color: #d197d9;
  171. border: 2px solid;
  172. border-radius: 30px;
  173. border-color: #d197d9;
  174. opacity: 0.7;
  175. }
  176.  
  177. #workspaces {
  178. font-size: 18px;
  179. padding-left: 5px;
  180. margin-bottom: 0px;
  181. }
  182.  
  183. #workspaces button {
  184. color: #a0a09f;
  185. padding: 0px 5px 0px 5px;
  186. opacity: 1;
  187. }
  188.  
  189. #workspaces button.active {
  190. color: #a0a09f;
  191. }
  192.  
  193. #privacy {
  194. font-size: 3;
  195. color: #a0a09f;
  196. padding-right: 10px;
  197. }
  198.  
  199. #tray {
  200. font-size: 3;
  201. color: #a0a09f;
  202. padding-right: 10px;
  203. }
  204.  
  205. #pulseaudio {
  206. font-size: 3;
  207. color: #a0a09f;
  208. padding-right: 10px;
  209. }
  210.  
  211. #clock {
  212. font-size: 3;
  213. color: #a0a09f;
  214. padding-right: 10px;
  215. }
  216.  
  217. #battery {
  218. font-size: 3;
  219. color: #a0a09f;
  220. padding-right: 10px;
  221. }
  222.  
  223. #custom-launcher {
  224. font-size: 20px;
  225. color: #a0a09f;
  226. font-weight: bold;
  227. padding-left: 10px;
  228. padding-right: 10px;
  229. }
  230. '';
  231. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement