me like nix
0

Configure Feed

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

1// -*- mode: jsonc -*- 2{ 3 // "layer": "top", // Waybar at top layer 4 // "position": "bottom", // Waybar position (top|bottom|left|right) 5 "height": 8, // Waybar height (to be removed for auto height) 6 // "width": 1280, // Waybar width 7 "spacing": 0, // Gaps between modules (4px) 8 // Choose the order of the modules 9 "modules-left": [ 10 "custom/media" 11 ], 12 "modules-right": [ 13 "mpd", 14 // "idle_inhibitor", 15 "pulseaudio", 16 "network", 17 "power-profiles-daemon", 18 "cpu", 19 "memory", 20 "temperature", 21 "backlight", 22 // "keyboard-state", 23 "battery", 24 "battery#bat2", 25 "clock", 26 "custom/power" 27 ], 28 // Modules configuration 29 "keyboard-state": { 30 "numlock": true, 31 "capslock": true, 32 "format": "{name} {icon}", 33 "format-icons": { 34 "locked": " ", 35 "unlocked": " " 36 } 37 }, 38 "mpd": { 39 "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", 40 "format-disconnected": "Disconnected ", 41 "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", 42 "unknown-tag": "N/A", 43 "interval": 5, 44 "consume-icons": { 45 "on": " " 46 }, 47 "random-icons": { 48 "off": "<span color=\"#f53c3c\"></span> ", 49 "on": " " 50 }, 51 "repeat-icons": { 52 "on": " " 53 }, 54 "single-icons": { 55 "on": "1 " 56 }, 57 "state-icons": { 58 "paused": "", 59 "playing": "" 60 }, 61 "tooltip-format": "MPD (connected)", 62 "tooltip-format-disconnected": "MPD (disconnected)" 63 }, 64 "idle_inhibitor": { 65 "format": "{icon}", 66 "format-icons": { 67 "activated": " ", 68 "deactivated": " " 69 } 70 }, 71 "tray": { 72 // "icon-size": 21, 73 "spacing": 10 74 }, 75 "clock": { 76 // "timezone": "America/New_York", 77 "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", 78 "format-alt": "{:%Y-%m-%d}" 79 }, 80 "cpu": { 81 "format": "{usage}%  ", 82 "tooltip": false 83 }, 84 "memory": { 85 "format": "{}%  " 86 }, 87 "temperature": { 88 // "thermal-zone": 2, 89 // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", 90 "critical-threshold": 80, 91 // "format-critical": "{temperatureC}°C {icon}", 92 "format": "{temperatureC}°C {icon}", 93 "format-icons": [ 94 "", 95 "", 96 "" 97 ] 98 }, 99 "backlight": { 100 // "device": "acpi_video1", 101 "format": "{percent}% {icon}", 102 "format-icons": [ 103 "", 104 "", 105 "", 106 "", 107 "", 108 "", 109 "", 110 "", 111 "" 112 ] 113 }, 114 "battery": { 115 "states": { 116 // "good": 95, 117 "warning": 30, 118 "critical": 15 119 }, 120 "format": "{capacity}% {icon}", 121 "format-full": "{capacity}% {icon}", 122 "format-charging": "{capacity}% ", 123 "format-plugged": "{capacity}% ", 124 "format-alt": "{time} {icon}", 125 // "format-good": "", // An empty format will hide the module 126 // "format-full": "", 127 "format-icons": [ 128 "", 129 "", 130 "", 131 "", 132 "" 133 ] 134 }, 135 "battery#bat2": { 136 "bat": "BAT2" 137 }, 138 "power-profiles-daemon": { 139 "format": "{icon}", 140 "tooltip-format": "Power profile: {profile}\nDriver: {driver}", 141 "tooltip": true, 142 "format-icons": { 143 "default": "", 144 "performance": "", 145 "balanced": " ", 146 "power-saver": " " 147 } 148 }, 149 "network": { 150 // "interface": "wlp2*", // (Optional) To force the use of this interface 151 "format-wifi": "{essid} ({signalStrength}%)  ", 152 "format-ethernet": "{ipaddr}/{cidr} ", 153 "tooltip-format": "{ifname} via {gwaddr} ", 154 "format-linked": "{ifname} (No IP) ", 155 "format-disconnected": "Disconnected ⚠", 156 "format-alt": "{ifname}: {ipaddr}/{cidr}" 157 }, 158 "pulseaudio": { 159 // "scroll-step": 1, // %, can be a float 160 "format": "{volume}% {icon} {format_source}", 161 "format-bluetooth": "{volume}% {icon} {format_source}", 162 "format-bluetooth-muted": " {icon} {format_source}", 163 "format-muted": " {format_source}", 164 "format-source": "{volume}% ", 165 "format-source-muted": " ", 166 "format-icons": { 167 "headphone": "", 168 "hands-free": "", 169 "headset": "", 170 "phone": "", 171 "portable": "", 172 "car": "", 173 "default": [ 174 "", 175 " ", 176 " " 177 ] 178 }, 179 "on-click": "pavucontrol" 180 }, 181 "custom/media": { 182 "format": "{icon} {text}", 183 "return-type": "json", 184 "max-length": 40, 185 "format-icons": { 186 "spotify": " ", 187 "default": "🎜 " 188 }, 189 "escape": true, 190 "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder 191 // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name 192 }, 193 "custom/power": { 194 "format": "⏻ ", 195 "tooltip": false, 196 "menu": "on-click", 197 "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder 198 "menu-actions": { 199 "shutdown": "shutdown", 200 "reboot": "reboot", 201 "suspend": "systemctl suspend", 202 "hibernate": "systemctl hibernate" 203 } 204 } 205}