Krolyxon
Commit 7cbc575

Branches

Refs →

dotfiles-x11.configwaybarconfig.jsonc

135 lines · 3.8 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 "pulseaudio",
17 "battery",
18 "cpu",
19 "memory",
20 "network",
21 "custom/date",
22 "clock",
23 "tray",
24 ],
25 // Modules configuration
26 "hyprland/workspaces": {
27 "format": "{icon}",
28 "format-icons": {
29 "1": "",
30 "2": "",
31 "3": "",
32 "4": "",
33 "5": "",
34 "6": "",
35 "7": "",
36 "8": "",
37 "9": "",
38 "10": "",
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 "tray": {
62 "icon-size": 21,
63 "spacing": 12
64 },
65 "clock": {
66 "timezone": "Asia/Kolkata",
67 "tooltip-format": "<tt><big>{calendar}</big></tt>",
68 "format": "󰥔 {:%H:%M}",
69 "interval": 5
70 },
71 "custom/date": {
72 "timezone": "Asia/Kolkata",
73 "exec": "date +'%a %Y-%m-%d'",
74 "format": "󰃭 {}",
75 "interval": 1,
76 "tooltip": false
77 },
78 "cpu": {
79 "format": " {usage:2}%",
80 "tooltip": false,
81 "interval": 1
82 },
83 "memory": {
84 "format": " {:2}%",
85 "interval": 1
86 },
87 "network": {
88 "interval": 5,
89 "format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
90 "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
91 "format-disconnected": "⚠ Disconnected",
92 "tooltip-format": "{ifname}: {ipaddr}"
93 },
94 "battery": {
95 "states": {
96 "good": 90,
97 "warning": 30,
98 "critical": 15
99 },
100 "format": "{icon} {capacity:3}%",
101 "format-charging": "󰂄 {capacity:3}%",
102 "format-plugged": " {capacity:3}%",
103 "format-alt": "{icon} ",
104 "format-good": "{icon} {capacity:3}%",
105 "format-full": "{icon} {capacity:3}%",
106 "format-icons": [
107 "",
108 "",
109 "",
110 "",
111 ""
112 ]
113 },
114 "pulseaudio": {
115 "scroll-step": 1, // %, can be a float
116 "format": "{volume:2}% {icon} {format_source}",
117 "format-muted": "{volume:2}% 󰝟 {format_source}",
118 "format-bluetooth": "{volume:2}% {icon}  {format_source}",
119 "format-source": "",
120 "format-source-muted": "",
121 "format-icons": {
122 "analog": "",
123 "hdmi": "󰓃",
124 "headphone": "",
125 "headset": "󰋎",
126 "default": [
127 "", // 0 - 25
128 "", // 25 - 50
129 "", // 50 - 75
130 "" // 75 - 100
131 ]
132 },
133 "on-click": "pavucontrol",
134 },
135}