Krolyxon
Commit cdd7d03

Branches

Refs →

aurora.configwaybarconfig.jsonc

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