Krolyxon
Commit b8c1f0f

Branches

Refs →

dotfiles-x11.configwaybarconfig.jsonc

145 lines · 4.1 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 // "output": ["HDMI-A-1", "DP-2", "eDP-1"],
8 // Choose the order of the modules
9 "modules-left": [
10 "hyprland/workspaces"
11 // "hyprland/window",
12 ],
13 "modules-center" : [
14 ],
15 "modules-right": [
16 "mpd",
17 "pulseaudio",
18 "battery",
19 "cpu",
20 "memory",
21 "network",
22 "custom/date",
23 "clock",
24 "tray",
25 ],
26 // Modules configuration
27 "hyprland/workspaces": {
28 "format": "{icon}",
29 "format-icons": {
30 "1": "",
31 "2": "",
32 "3": "",
33 "4": "",
34 "5": "",
35 "6": "",
36 "7": "",
37 "8": "",
38 "9": "",
39 "10": "",
40 "11": "",
41 "12": "",
42 "13": "",
43 "14": "",
44 "15": "",
45 "16": "",
46 "17": "",
47 "18": "",
48 "19": "",
49 "20": "",
50 "urgent": "",
51 // "active": "", // focused workspace on current monitor
52 // "visible": "", // focused workspace on other monitors
53 // "default": "",
54 // "default": "", // focused workspace on current monitor
55 // "empty": "" // persistent
56 },
57 "on-scroll-up": "hyprctl dispatch workspace r-1",
58 "on-scroll-down": "hyprctl dispatch workspace r+1",
59 "all-outputs": false,
60 "show-special": false
61 },
62 "tray": {
63 "icon-size": 21,
64 "spacing": 12
65 },
66 "clock": {
67 "timezone": "Asia/Kolkata",
68 "tooltip-format": "<tt><big>{calendar}</big></tt>",
69 "format": "󰥔 {:%H:%M}",
70 "interval": 5
71 },
72 "custom/date": {
73 "timezone": "Asia/Kolkata",
74 "exec": "date +'%a %Y-%m-%d'",
75 "format": "󰃭 {}",
76 "interval": 1,
77 "tooltip": false
78 },
79 "cpu": {
80 "format": " {usage:2}%",
81 "tooltip": false,
82 "interval": 1
83 },
84 "memory": {
85 "format": " {:2}%",
86 "interval": 1
87 },
88 "network": {
89 "interval": 5,
90 "format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
91 "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
92 "format-disconnected": "⚠ Disconnected",
93 "tooltip-format": "{ifname}: {ipaddr}"
94 },
95 "battery": {
96 "states": {
97 "good": 90,
98 "warning": 30,
99 "critical": 15
100 },
101 "format": "{icon} {capacity:3}%",
102 "format-charging": "󰂄 {capacity:3}%",
103 "format-plugged": " {capacity:3}%",
104 "format-alt": "{icon} ",
105 "format-good": "{icon} {capacity:3}%",
106 "format-full": "{icon} {capacity:3}%",
107 "format-icons": [
108 "",
109 "",
110 "",
111 "",
112 ""
113 ]
114 },
115 "pulseaudio": {
116 "scroll-step": 1, // %, can be a float
117 "format": "{volume:2}% {icon} {format_source}",
118 "format-muted": "{volume:2}% 󰝟 {format_source}",
119 "format-bluetooth": "{volume:2}% {icon}  {format_source}",
120 "format-source": "",
121 "format-source-muted": "",
122 "format-icons": {
123 "analog": "",
124 "hdmi": "󰓃",
125 "headphone": "",
126 "headset": "󰋎",
127 "default": [
128 "", // 0 - 25
129 "", // 25 - 50
130 "", // 50 - 75
131 "" // 75 - 100
132 ]
133 },
134 "on-click": "pavucontrol",
135 },
136 "mpd": {
137 "format": "Playing ",
138 "format-paused": "Paused ",
139 "format-stopped": "Stopped ",
140 "max-length": 20,
141 "tooltip": false,
142 "tooltip-format": "{title}\n{artist}\n{album}",
143 "tooltip": true
144 },
145}