Krolyxon
Commit ace9df5

Branches

Refs →

aurora.configwaybarconfig.jsonc

162 lines · 5.0 KB

1{
2 // "layer": "top", // Waybar at top layer
3 "position": "top", // Waybar position (top|bottom|left|right)
4 "height": 0, // Waybar height (to be removed for auto height)
5 "width": 0, // Waybar width (0 == auto)
6 "spacing": 0, // Gaps between modules
7 "modules-left": [
8 "hyprland/workspaces",
9 "custom/cpucat"
10 ],
11 "modules-center" : [
12 "hyprland/window"
13 ],
14 "modules-right": [
15 "tray",
16 "custom/gpumode",
17 "custom/headset-battery",
18 "pulseaudio",
19 "battery",
20 "backlight",
21 "cpu",
22 "memory",
23 // "network",
24 "custom/date",
25 "clock",
26 ],
27 // Modules configuration
28 "hyprland/workspaces": {
29 "format": "{icon}",
30 "format-icons": {
31 "1": "", // Browser → research, online study
32 "2": "", // Code → programming, assignments
33 "3": "", // Book → textbooks, notes, reading
34 "4": "", // Cog → system/tools for productivity
35 "5": "", // Chatting
36 "6": "", // Scroll/file → reports, writing, docs
37 "7": "", // Folder → file manager, documents
38 "8": "", // Terminal → dev tools, CLI
39 "9": "", // Flask (Science) → labs, simulations, experiments
40 "10": "", // Media viewer (optional, for diagrams/images)
41 "11": "",
42 "12": "",
43 "13": "",
44 "14": "",
45 "15": "",
46 "16": "",
47 "17": "",
48 "18": "",
49 "19": "",
50 "20": "",
51 "urgent": "",
52 // "active": "", // focused workspace on current monitor
53 // "visible": "", // focused workspace on other monitors
54 // "default": "",
55 // "default": "", // focused workspace on current monitor
56 // "empty": "" // persistent
57 },
58 "on-click": "activate",
59 "on-scroll-up": "hyprctl dispatch 'hl.dsp.focus({workspace=\"e+1\"})' ",
60 "on-scroll-down": "hyprctl dispatch 'hl.dsp.focus({workspace=\"e-1\"})' ",
61 "all-outputs": false,
62 "show-special": false
63 },
64 "hyprland/window": {
65 "format": "󰣇 {}",
66 "max-length": 50
67 },
68 "tray": {
69 "icon-size": 13,
70 "spacing": 10
71 },
72 "clock": {
73 "timezone": "Asia/Kolkata",
74 "tooltip-format": "<tt><big>{calendar}</big></tt>",
75 "format": "󰥔 {:%H:%M}",
76 "interval": 5
77 },
78 "custom/date": {
79 "timezone": "Asia/Kolkata",
80 "exec": "date +'%d %b %Y'",
81 "format": "󰃭 {}",
82 "interval": 1,
83 "tooltip": false
84 },
85 "custom/gpumode": {
86 "exec": "~/.config/waybar/scripts/gpu_mode.sh",
87 "format": "{}",
88 "interval": "once",
89 "on-click": "~/.local/bin/envyswitch",
90 },
91 "custom/headset-battery": {
92 "exec": "~/.config/waybar/scripts/bluetooth-battery.sh",
93 "format": "󰋋 {}",
94 "return-type": "json",
95 "interval": 15,
96 "hide-empty-text": true
97 },
98 "custom/cpucat": {
99 "exec":"~/.config/waybar/scripts/catloop.sh",
100 },
101 "cpu": {
102 "format": " {usage:2}%",
103 "interval": 1,
104 "on-click": "$TERMINAL -e htop",
105 },
106 "memory": {
107 "format": " {used:0.1f}G",
108 "interval": 1,
109 "on-click": "$TERMINAL -e htop",
110 },
111 "battery": {
112 "states": {
113 "good": 90,
114 "warning": 30,
115 "critical": 15
116 },
117 "format": "{icon} {capacity:3}%",
118 "format-charging": "󰂄 {capacity:3}%",
119 "format-plugged": " {capacity:3}%",
120 "format-alt": "{icon} ",
121 "format-good": "{icon} {capacity:3}%",
122 "format-full": "{icon} {capacity:3}%",
123 "tooltip-format": "{timeTo}\nHealth: {health}%\nPower Draw: {power:.2f} W\nCycles: {cycles}\n\nLMB: Toggle Format\nRMB: Timeout Settings",
124 "format-icons": [
125 "",
126 "",
127 "",
128 "",
129 ""
130 ]
131 },
132 "backlight": {
133 "format": "{icon} {percent}%",
134 "format-icons": ["󰃞", "󰃟", "󰃠"],
135 // "on-scroll-up": "brightnessctl set 1%+",
136 // "on-scroll-down": "brightnessctl set 1%-",
137 "on-scroll-up": "brictl +",
138 "on-scroll-down": "brictl -",
139 "min-length": 6
140 },
141 "pulseaudio": {
142 "scroll-step": 1, // %, can be a float
143 "format": "{volume:2}% {icon} {format_source}",
144 "format-muted": "{volume:2}% 󰝟 {format_source}",
145 "format-bluetooth": "{volume:2}% {icon}  {format_source}",
146 "format-source": "",
147 "format-source-muted": "",
148 "format-icons": {
149 "analog": "",
150 "hdmi": "󰓃",
151 "headphone": "",
152 "headset": "󰋎",
153 "default": [
154 "", // 0 - 25
155 "", // 25 - 50
156 "", // 50 - 75
157 "" // 75 - 100
158 ]
159 },
160 "on-click": "pavucontrol",
161 },
162}