aboutsummaryrefslogtreecommitdiff
path: root/dot_config/waybar/config
blob: 013999350dd8757ad2990821181bf656f5a743a8 (plain) (blame)
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
{
  "layer": "top",
  "position": "top",
  "height": 24,

  "modules-left": ["hyprland/workspaces"],
  "modules-center": ["hyprland/window"],
  "modules-right": ["cpu", "memory", "network", "privacy", "pulseaudio", "clock"],

  "hyprland/workspaces": {
    "disable-scroll": true,
    "all-outputs": false,
    "format": "{name}",
    "on-click": "activate"
  },

  "hyprland/window": {
    "format": "{}",
    "max-length": 60
  },

  "cpu": {
    "format": " {usage}%",
    "interval": 2
  },

  "memory": {
    "format": " {used:0.1f}G",
    "interval": 5
  },

  "network": {
    "format": " {bandwidthDownBits}  {bandwidthUpBits}",
    "format-disconnected": "⚠ offline",
    "interval": 5
  },

  "pulseaudio": {
    "format": " {volume}%",
    "format-muted": " muted",
    "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
  },

  "clock": {
    "interval": 60,
    "timezone": "Europe/Berlin",
    "format": "{:%a %d.%m %R }",
    "tooltip-format": "<tt><big>{calendar}</big></tt>",
    "calendar": {
      "mode"          : "month",
      "mode-mon-col"  : 3,
      "weeks-pos"     : "right",
      "on-scroll"     : 1,
      "on-click-right": "mode",
      "format": {
        "months":     "<span color='#cba6f7'><b>{}</b></span>",
        "days":       "<span color='#cdd6f4'><b>{}</b></span>",
        "weeks":      "<span color='#94e2d5'>W{}</span>",
        "weekdays":   "<span color='#f9e2af'><b>{}</b></span>",
        "today":      "<span color='#f5e0dc'><b><u>{}</u></b></span>"
        }
    },
    "actions":  {
      "on-click-right": "mode",
    }
  },

  "privacy": {
    "icon-size": 16,
    "spacing": 5
  }
}