summaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 8b60aafc891f055c2b6a4eb54b117f121a38aac2 (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
71
72
73
74
75
76
77
78
79
80
81
// -*- mode: json -*-
// vim:set syntax=json:
{
  "layer": "top",
  "reload_style_on_change": true,

  "modules-left": [
    "hyprland/workspaces"
  ],
  "modules-center": ["clock"],
  "modules-right": [
    "network",
    "pulseaudio",
    "battery",
    "tray"
  ],

  "hyprland/workspaces": {
    "format": "{icon}",
    "format-active": " {icon} ",
    "on-click": "activate"
  },
  "clock": {
    "format": "{:%H:%M:%S %Ez  %A, %Y-%m-%d}",
    "tooltip": false,
    "interval": 1
  },
  "network": {
    "format-wifi": "{icon}  {essid}",
    "format-ethernet": "{icon} {ifname}",
    "format-disconnected": "",
    "tooltip-format": "{ipaddr}/{cidr} {ifname} via {gwaddr}",
    "tooltip-format-wifi": "{ipaddr}/{cidr} {ifname} ({signalStrength}%, {frequency}GHz) via {gwaddr}",
    "tooltip-format-disconnected": "Disconnected",
    "max-length": 50,
    "format-icons": {
      "wifi": ["󰤫", "󰤟", "󰤢", "󰤥", "󰤨"],
      "ethernet": "󰈀"
    }
  },
  "pulseaudio": {
    "format": "{icon}  {volume:2}%",
    "format-bluetooth": "{icon}  {volume}% ",
    "format-muted": "󰖁 MUTE",
    "format-icons": {
      "headphones": "",
      "default": ["󰕿", "󰖀", "󰕾"]
    },
    "scroll-step": 5,
    "on-click": "pamixer -t",
    "on-click-right": "pavucontrol"
  },
  "battery": {
    "interval": 10,
    "states": {
      "crit": 15,
      "warn": 30,
      "half": 50,
      "good": 75,
      "high": 95,
      "full": 100
    },
    "format-discharging-crit": "󰁺 {capacity}%",
    "format-discharging-warn": "󰁼 {capacity}%",
    "format-discharging-half": "󰁾 {capacity}%",
    "format-discharging-good": "󰂀 {capacity}%",
    "format-discharging-high": "󰂂 {capacity}%",
    "format-discharging-full": "󰁹 {capacity}%",
    "format-charging-crit": "󰢜 {capacity}%",
    "format-charging-warn": "󰂇 {capacity}%",
    "format-charging-half": "󰢝 {capacity}%",
    "format-charging-good": "󰢞 {capacity}%",
    "format-charging-high": "󰂋 {capacity}%",
    "format-charging-full": "󰂅 {capacity}%",
    "format": "{icon} {capacity}%",
    "format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󰂂", "󰁹"]
  },
  "tray": {
    "spacing": 10
  }
}