Waybar configuration
| 1 | //* ---- 💫 https://github.com/JaKooLit 💫 ---- *// |
| 2 | /* Waybar Modules - Groups Modules */ |
| 3 | /* Basically created to reduce the lines in Waybar Modules bank */ |
| 4 | /* NOTE: This is only for Groups */ |
| 5 | |
| 6 | { |
| 7 | // GROUPS |
| 8 | "group/app_drawer": { |
| 9 | "orientation": "inherit", |
| 10 | "drawer": { |
| 11 | "transition-duration": 500, |
| 12 | "children-class": "custom/menu", |
| 13 | "transition-left-to-right": true |
| 14 | }, |
| 15 | "modules": [ |
| 16 | "custom/menu", |
| 17 | "custom/light_dark", |
| 18 | "custom/file_manager", |
| 19 | "custom/tty", |
| 20 | "custom/browser", |
| 21 | "custom/settings", |
| 22 | ] |
| 23 | }, |
| 24 | "group/motherboard": { |
| 25 | "orientation": "horizontal", |
| 26 | "modules": [ |
| 27 | "cpu", |
| 28 | "power-profiles-daemon", |
| 29 | "memory", |
| 30 | "temperature", |
| 31 | "disk", |
| 32 | ] |
| 33 | }, |
| 34 | |
| 35 | "group/mobo_drawer": { |
| 36 | "orientation": "inherit", |
| 37 | "drawer": { |
| 38 | "transition-duration": 500, |
| 39 | "children-class": "cpu", |
| 40 | "transition-left-to-right": true |
| 41 | }, |
| 42 | "modules": [ |
| 43 | "temperature", |
| 44 | "cpu", |
| 45 | "power-profiles-daemon", |
| 46 | "memory", |
| 47 | "disk", |
| 48 | ] |
| 49 | }, |
| 50 | "group/laptop": { |
| 51 | "orientation": "inherit", |
| 52 | "modules": [ |
| 53 | "backlight", |
| 54 | "battery", |
| 55 | ] |
| 56 | }, |
| 57 | "group/audio": { |
| 58 | "orientation": "inherit", |
| 59 | "drawer": { |
| 60 | "transition-duration": 500, |
| 61 | "children-class": "pulseaudio", |
| 62 | "transition-left-to-right": true |
| 63 | }, |
| 64 | "modules": [ |
| 65 | "pulseaudio", |
| 66 | "pulseaudio#microphone", |
| 67 | ] |
| 68 | }, |
| 69 | |
| 70 | "group/connections": { |
| 71 | "orientation": "inherit", |
| 72 | "drawer": { |
| 73 | "transition-duration": 500, |
| 74 | "children-class": "bluetooth", |
| 75 | "transition-left-to-right": true |
| 76 | }, |
| 77 | "modules": [ |
| 78 | "network", |
| 79 | "bluetooth", |
| 80 | ] |
| 81 | }, |
| 82 | |
| 83 | "group/status": { |
| 84 | "orientation": "inherit", |
| 85 | "drawer": { |
| 86 | "transition-duration": 500, |
| 87 | "children-class": "custom/power", |
| 88 | "transition-left-to-right": false |
| 89 | }, |
| 90 | "modules": [ |
| 91 | "custom/power", |
| 92 | "custom/lock", |
| 93 | "keyboard-state", |
| 94 | "custom/keyboard", |
| 95 | ] |
| 96 | }, |
| 97 | "group/notify": { |
| 98 | "orientation": "inherit", |
| 99 | "drawer": { |
| 100 | "transition-duration": 500, |
| 101 | "children-class": "custom/swaync", |
| 102 | "transition-left-to-right": false |
| 103 | }, |
| 104 | "modules": [ |
| 105 | "custom/swaync", |
| 106 | "custom/dot_update", |
| 107 | ] |
| 108 | }, |
| 109 | |
| 110 | "group/power": { |
| 111 | "orientation": "inherit", |
| 112 | "drawer": { |
| 113 | "transition-duration": 500, |
| 114 | "children-class": "drawer-child", |
| 115 | "transition-left-to-right": false |
| 116 | }, |
| 117 | "modules": [ |
| 118 | "custom/power", |
| 119 | "custom/quit", |
| 120 | "custom/lock", |
| 121 | "custom/reboot" |
| 122 | ] |
| 123 | }, |
| 124 | // groups for vertical |
| 125 | "group/power#vert": { |
| 126 | "orientation": "inherit", |
| 127 | "drawer": { |
| 128 | "transition-duration": 300, |
| 129 | "children-class": "not-memory", |
| 130 | "transition-left-to-right": false |
| 131 | }, |
| 132 | "modules": [ |
| 133 | "custom/power", |
| 134 | "custom/lock", |
| 135 | "custom/logout", |
| 136 | "custom/reboot" |
| 137 | ] |
| 138 | }, |
| 139 | } |