summaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: c0af5d2b9e7bcb567797fc8c7ba99c9c296acf94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
  "layer": "top",
  "height": 15,
  "margin": "0 0 0 0",

  "modules-left": ["hyprland/workspaces", "custom/separator", "tray"],
  "modules-center": ["hyprland/window"],
  "modules-right": ["wireplumber", "custom/brightness", "battery", "cpu", "memory", "custom/separator", "network", "custom/separator", "clock"],

  "hyprland/workspaces": {
    "format": "{id}",
  },
  "custom/separator": {
    "exec": "echo \" | \"",
    "format": "{}",
  },
  "custom/brightness": {
  	"exec": "get-brightness-percentage",
  	"interval": 1,
  	"format": "{} 󰃝",
  },
  "network": {
    "format-wifi": "{essid} {signalStrength}% ",
    "format-ethernet": "{ipaddr}/{cidr}",
    "format-disconnected": "Disconnected ",
    "tooltip-format": "{ifname}: {gwaddr}",
    "format": "{ifname}: {essid}",
    "on-click": "alacritty -e nmtui",
  },
  "hyprland/window": {
    "format": "{title}",
  },
  "cpu": {
    "format": "{usage}% ",
    "interval": 1,
  },
  "memory": {
    "format": "{percentage}% ",
    "interval": 1,
  },
  "clock": {
    "timezone": "America/New_York",
    "format": "{:%r}",
    "tooltip-format": "{:%d %B %Y}",
    "interval": 1,
  },
  "tray": {
    "icon-size": 16,
    "spacing": 8,
  },
  "wireplumber": {
    "format": "{volume}% {icon}",
    "format-muted": "",
    "tooltip-format": "{volume}% {node_name}",
    "scroll-step": 0,
    "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
    "on-click-right": "helvum",
    "format-icons": ["", "", ""]
  },
  "battery": {
    "bat": "BAT0",
    "interval": 0,
    "format-charging": "{capacity}% 󰂄",
    "format-not charging": "{capacity}% 󰂃",
    "format-discharging": "{capacity}% {icon}",
    "format": "{capacity}% {icon}",
    "format-icons": ["󱊡", "󱊢", "󱊣"],
    "interval": 1,
  },
}