z_mirror/dotfiles

git clone https://git.raiguard.me/z_mirror/dotfiles

Caleb Heuerwaybar: Remove niri workspaces and hardcode height17ba3b0

trunk
1.2 KiB68 linesraw
1{
2  "modules-left": [
3    "sway/workspaces",
4    "sway/mode",
5    "wlr/taskbar",
6  ],
7  "modules-center": [
8    "niri/window",
9    "sway/window"
10  ],
11  "modules-right": [
12    "cpu",
13    "custom/cputemp",
14    "memory",
15    "custom/gpu",
16    "battery",
17    "custom/wattage",
18    "custom/time",
19    "tray"
20  ],
21  "layer": "top",
22  "position": "top",
23  "height": 36,
24  "wlr/taskbar": {
25    "format": "{icon}",
26    "tooltip-format": "{title} | {app_id}",
27    "on-click": "activate",
28    "on-click-middle": "close",
29    "on-click-right": "fullscreen",
30    "icon-size": 24
31  },
32  "cpu": {
33    "format": "{usage}%",
34    "interval": 2
35  },
36  "custom/cputemp": {
37    "exec": "~/.config/waybar/cputemp.sh",
38    "interval": 1
39  },
40  "memory": {
41    "format": "{percentage}%",
42    "interval": 2
43  },
44  "custom/gpu": {
45    "exec": "~/.config/waybar/gpu.sh",
46    "interval": 1
47  },
48  "battery": {
49    "states": {
50      "critical": 20
51    },
52    "format": "{capacity}%",
53    "format-charging": "+{capacity}%",
54    "format-plugged": "={capacity}%",
55    "interval": 2
56  },
57  "custom/wattage": {
58    "exec": "power-usage",
59    "interval": 1
60  },
61  "custom/time": {
62    "exec": "~/.config/waybar/time.sh",
63    "interval": 60
64  },
65  "tray": {
66    "spacing": 3
67  }
68}