aboutsummaryrefslogtreecommitdiff
path: root/dot_config/waybar/config
blob: 5a260190839c20d207f4414d9edbfcffab56f20d (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
{
    // General settings
    "layer": "top",
    //"output": "eDP-1",

    // Define modules to use
    "modules-left": ["sway/workspaces", "sway/mode"],
    "modules-center": ["sway/window"],
    "modules-right": ["mpd", "network", "bluetooth", "wireplumber", "cpu", "memory", "battery", "power-profiles-daemon", "clock", "systemd-failed-units"],

    // Configure modules
    "sway/window": {
        "max-length": 100
    },
    "network": {
        "format": "{essid}({frequency}) {signalStrength}%",
        "format-disconnected": "",
        "tooltip-format": "<big>{ifname}</big>\n<b>{ipaddr}/{cidr}</b> via <b>{gwaddr}</b>\n{bandwidthDownBytes} {bandwidthUpBytes}",
        "tooltip-format-disconnected": "",
    },
    "mpris": {
        "dynamic-len": 50,
    },
    "mpd": {
        "server": "/run/user/1000/mpd.sock",
        "format": "{album} - {artist} - {title}",
        "album-len": 30,
        "artist-len": 30,
        "title-len": 30,
    },
    "bluetooth": {
        "format": " {status} ({num_connections})",
	"tooltip-format": "{controller_alias}\t{controller_address}",
	"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
	"tooltip-format-enumerate-connected-battery": "{device_alias}\t\t{device_battery_percentage}%",
	"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
    },
    "wireplumber": {
        "format": "{volume}% {icon}",
        "format-muted": " {volume}% ",
        "format-icons": {
            "default": ["", ""]
        },
    },
    "cpu": {
        "interval": 3,
        "format-alt": "{load}"
    },
    "memory": {
        "interval": 3,
        "format": "{used:0.2f} GiB",
        "format-alt": "{percentage}%",
    },
    "battery": {
        "interval": 5,
        "format": "{capacity}% {icon}   {power} W",
        "format-icons": ["", "", "", "", ""]
    },
    "power-profiles-daemon": {
      "format": "{icon}",
      "tooltip-format": "Power profile: {profile}\nDriver: {driver}",
      "tooltip": true,
      "format-icons": {
        "default": "",
        "performance": "",
        "balanced": "",
        "power-saver": ""
      }
    },
    "clock": {
        "interval": 30,
        "format": "{:%a %b %d %I:%M %p}",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
    }
}