repos / dotfiles

my dotfiles

dotfiles / dot_config / waybar
Eric Bower  ·  2025-10-24

config

 1{
 2	"layer": "top",
 3  "position": "bottom",
 4	"modules-left": ["sway/workspaces"],
 5	"modules-center": ["sway/window"],
 6	"modules-right": ["battery", "backlight", "pulseaudio", "network", "clock"],
 7
 8	"pulseaudio": {
 9		"tooltip": false,
10		"scroll-step": 5,
11		"format": "{icon}  {volume}%",
12		"format-muted": "{icon}  {volume}%",
13		"on-click":"pavucontrol",
14		"format-icons": {
15			"default": ["", "", ""]
16		}
17	},
18  "sway/workspaces": {
19    "disable-scroll": true,
20    "all-outputs": true,
21    "format": "{name}"
22  },
23  "dwl/tags": {
24    "num-tags": 5,
25    "tag-labels": [ "1", "2", "3", "4", "5" ],
26    "disable-click": false
27  },
28	"network": {
29		"tooltip": false,
30		"format-wifi": "   {essid}",
31		"format-ethernet": "",
32    "on-click": "iwgtk"
33	},
34	"backlight": {
35		"tooltip": false,
36		"format": "  {}%",
37		"interval":1,
38    "on-scroll-up": "light -A 5",
39		"on-scroll-down": "light -U 5"
40	},
41  "battery": {
42      "states": {
43          "good": 95,
44          "warning": 30,
45          "critical": 20
46      },
47      "format": "{icon}   {capacity}%",
48      "format-charging": " {capacity}%",
49      "format-plugged": " {capacity}%",
50      "format-alt": "{time} {icon}",
51      "format-icons": ["", "", "", "", ""]
52  },
53  "clock": {
54      "format": "{:%I:%M %m/%d}"
55  }
56}