aboutsummaryrefslogtreecommitdiff
path: root/config/waybar/config.jsonc
blob: 4d921a3ab26b8c24eecdbd96dbd9db66dca0ff8d (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
  "ipc": true,
  "reload_style_on_change": true,

  "modules-left": [
    "sway/language",
    "sway/workspaces",
    "sway/mode",
    "privacy",
    "systemd-failed-units"
  ],
  "modules-center": [
    "group/clock",
    "custom/email",
    "mpd"
  ],
  "modules-right": [
    "wireplumber",
    "cpu",
    "memory",
    "temperature",
    "disk#root",
    "disk#home",
    "network",
    "group/hardware",
    "tray"
  ],

  "group/clock": {
    "orientation": "horizontal",
    "modules": [
      "clock",
      "idle_inhibitor"
    ],
    "drawer": {}
  },
  "group/hardware": {
    "orientation": "horizontal",
    "modules": [
      "battery",
      "backlight",
      "bluetooth"
    ],
    "drawer": {}
  },

  "cpu": {
    "interval": 2,
    "format": "{usage}% "
  },
  "memory": {
    "interval": 10,
    "format": "{used}/{total}GiB "
  },
  "disk#root": {
    "format": "/ {free}",
    "path": "/"
  },
  "disk#home": {
    "format": "/home2 {free}",
    "path": "/home2"
  },
  "clock": {
    "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
    "format": "{:%F %T}",
    "format-alt": "{:%F %T}",
    "interval": 1
  },
  "idle_inhibitor": {
    "format": "{icon}",
    "format-icons": {
      "activated": "󰔡",
      "deactivated": "󰔢"
    }
  },
  "wireplumber": {
    "format": "{volume}% {icon}",
    "format-muted": "Muted 󰓄",
    "format-icons": [ "󰓃"],
    "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
  },
  "network": {
    "format": "󰈀 {ipaddr}/{cidr} ⇅{bandwidthTotalBytes}",
    "format-wifi": " {essid}({signalStrength}%) {ipaddr}/{cidr} ⇅{bandwidthTotalBytes}",
    "tooltip-format": "{ifname} via {gwaddr} ↑{bandwidthUpBytes} ↓{bandwidthDownBytes}",
    "interval": 1
  },
  "battery": {
    "format": "{capacity}% {icon}",
    "format-icons": ["", "", "", "", "" ]
  },
  "temperature": {
    "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
    "critical-threshold": 85,
    "format-critical": "{temperatureC}°C ",
    "format": "{temperatureC}°C "
  },
  "bluetooth": {
    "format": " {status}",
    "format-disabled": "",
    "format-connected": " {num_connections} connected",
    "tooltip-format": "{controller_alias}\t{controller_address}",
    "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
    "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}"
  },
  "mpd": {
    "format-stopped": "",
    "format-paused": "{album} - {artist} - {title}",
    "on-click": "mpc toggle >/dev/null",
    "on-click-right": "mpc stop >/dev/null",
    "on-click-backward": "mpc prev >/dev/null",
    "on-click-forward": "mpc next >/dev/null"
  },
  "privacy": {
    "icon-spacing": 4,
    "icon-size": 12,
    "transition-duration": 250,
    "modules": [
      {"type": "screenshare", "tooltip": true, "tooltip-icon-size": 24},
      {"type": "audio-in", "tooltip": true, "tooltip-icon-size": 24}
    ]
  },
  "custom/email": {
    "exec": "~/.config/waybar/email.sh",
    "interval": 30,
    "signal": 13
  }
}