Krolyxon
Commit 221967f

Branches

Refs →

dotfiles-x11.configwaybarconfig.jsonc

149 lines · 4.2 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 "hyprland/window"
15 ],
16 "modules-right": [
17 "tray",
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": "",
32 "2": "",
33 "3": "",
34 "4": "",
35 "5": "",
36 "6": "",
37 "7": "",
38 "8": "",
39 "9": "",
40 "10": "",
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-scroll-up": "hyprctl dispatch workspace r-1",
59 "on-scroll-down": "hyprctl dispatch workspace r+1",
60 "all-outputs": false,
61 "show-special": false
62 },
63 "hyprland/window": {
64 "format": "󰣇 {}"
65 },
66 "tray": {
67 "icon-size": 13,
68 "spacing": 10
69 },
70 "clock": {
71 "timezone": "Asia/Kolkata",
72 "tooltip-format": "<tt><big>{calendar}</big></tt>",
73 "format": "󰥔 {:%H:%M}",
74 "interval": 5
75 },
76 "custom/date": {
77 "timezone": "Asia/Kolkata",
78 "exec": "date +'%a %d %b %Y'",
79 "format": "󰃭 {}",
80 "interval": 1,
81 "tooltip": false
82 },
83 "cpu": {
84 "format": " {usage:2}%",
85 "interval": 1,
86 "on-click": "$TERMINAL -e htop",
87 },
88 "memory": {
89 "format": " {used:0.1f}G",
90 "interval": 1,
91 "on-click": "$TERMINAL -e htop",
92 },
93 "network": {
94 "interval": 5,
95 "format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
96 "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
97 "format-disconnected": "⚠ Disconnected",
98 "tooltip-format": "{ifname}: {ipaddr}"
99 },
100 "battery": {
101 "states": {
102 "good": 90,
103 "warning": 30,
104 "critical": 15
105 },
106 "format": "{icon} {capacity:3}%",
107 "format-charging": "󰂄 {capacity:3}%",
108 "format-plugged": " {capacity:3}%",
109 "format-alt": "{icon} ",
110 "format-good": "{icon} {capacity:3}%",
111 "format-full": "{icon} {capacity:3}%",
112 "format-icons": [
113 "",
114 "",
115 "",
116 "",
117 ""
118 ]
119 },
120 "backlight": {
121 // "device": "intel_backlight",
122 "format": "{icon} {percent}%",
123 "format-icons": ["󰃞", "󰃟", "󰃠"],
124 "on-scroll-up": "brightnessctl set 1%+",
125 "on-scroll-down": "brightnessctl set 1%-",
126 "min-length": 6
127 },
128 "pulseaudio": {
129 "scroll-step": 1, // %, can be a float
130 "format": "{volume:2}% {icon} {format_source}",
131 "format-muted": "{volume:2}% 󰝟 {format_source}",
132 "format-bluetooth": "{volume:2}% {icon}  {format_source}",
133 "format-source": "",
134 "format-source-muted": "",
135 "format-icons": {
136 "analog": "",
137 "hdmi": "󰓃",
138 "headphone": "",
139 "headset": "󰋎",
140 "default": [
141 "", // 0 - 25
142 "", // 25 - 50
143 "", // 50 - 75
144 "" // 75 - 100
145 ]
146 },
147 "on-click": "pavucontrol",
148 },
149}