He sudo on my nixos-rebuild till I switch
0

Configure Feed

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

Fixed waybar styling and added idle inhibitor

Madeline Hashcube (Jun 20, 2026, 2:05 AM -0500) a4e06502 3a695376

+38 -20
+38 -20
users/hashcube/programs/wayland/waybar.nix
··· 13 13 margin-right = 16; 14 14 modules-left = [ /*"hyprland/workspaces"*/ "niri/workspaces" ]; 15 15 modules-center = [ "clock" ]; 16 - modules-right = [ "tray" "wireplumber" "battery" "custom/notification" ]; 16 + modules-right = [ 17 + "tray" 18 + "idle_inhibitor" 19 + "wireplumber" 20 + "battery" 21 + "custom/notification" 22 + ]; 23 + 24 + idle_inhibitor = { 25 + tooltip = false; 26 + format = "{icon}"; 27 + format-icons = { 28 + activated = "󰅶"; 29 + deactivated = "󰢠"; 30 + }; 31 + }; 17 32 18 33 battery = { 19 34 interval = 5; ··· 40 55 wireplumber = { 41 56 format = "{volume}%"; 42 57 format-muted = "{volume}X"; 43 - scroll-step = 5; 58 + scroll-step = 1; 44 59 }; 45 60 "niri/workspaces" = { 46 61 format = "{index}"; 47 62 }; 48 - /* 63 + /** 49 64 "hyprland/workspaces" = { 50 65 format = "[{windows}]"; 51 66 persistent-workspaces = { ··· 77 92 #"" = ""; 78 93 }; 79 94 }; 80 - */ 95 + //*/ 81 96 "custom/notification" = { 82 97 tooltip = false; 83 98 format = "{} {icon}"; 84 - "format-icons" = { 99 + format-icons = { 85 100 notification = "󱅫"; 86 101 none = ""; 87 - "dnd-notification" = " "; 88 - "dnd-none" = "󰂛"; 89 - "inhibited-notification" = " "; 90 - "inhibited-none" = ""; 91 - "dnd-inhibited-notification" = " "; 92 - "dnd-inhibited-none" = " "; 102 + dnd-notification = ""; 103 + dnd-none = "󰂛"; 104 + inhibited-notification = ""; 105 + inhibited-none = ""; 106 + dnd-inhibited-notification = ""; 107 + dnd-inhibited-none = ""; 93 108 }; 94 - "return-type" = "json"; 95 - "exec-if" = "which swaync-client"; 109 + return-type = "json"; 110 + exec-if = "which swaync-client"; 96 111 exec = "swaync-client -swb"; 97 - "on-click" = "sleep 0.1 && swaync-client -t -sw"; 98 - "on-click-right" = "sleep 0.1 && swaync-client -d -sw"; 112 + on-click = "sleep 0.1 && swaync-client -t -sw"; 113 + on-click-right = "sleep 0.1 && swaync-client -d -sw"; 99 114 escape = true; 100 115 }; 101 116 tray.spacing = 32; 102 117 }; 103 118 }; 119 + 104 120 style = '' 105 121 @import "catppuccin.css"; 106 122 ··· 117 133 color: @mauve; 118 134 } 119 135 136 + #custom-notification.dnd-none, 137 + #custom-notification.dnd-notification, 138 + #custom-notification.dnd-inhibited-notification, 139 + #custom-notification.dnd-inhibited-none, 140 + #idle_inhibitor.deactivated, 120 141 #wireplumber.muted { 121 142 color: @subtext0; 122 143 font-style: italic; ··· 173 194 } 174 195 175 196 #clock, 176 - #workspaces { 177 - background-color: @base; 178 - padding: 0.5rem 1rem; 179 - } 180 - 197 + #workspaces, 198 + #idle_inhibitor, 181 199 #tray, 182 200 #custom-notification, 183 201 #wireplumber,