aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 2f3144242f18530fa22f7f890720ce36b21f67cd (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
{
    "battery": {
        "format": "{icon}  {capacity}%",
        "format-charging": "\uf0e7 {capacity}%",
        "format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"],
        "states": {
            "critical": 10,
            "warning": 20
        }
    },
    "clock": {
        "format": "\uf017 {:%H:%M}",
        "tooltip-format": "<tt><small>{calendar}</small></tt>",
        "calendar": {
            "mode": "year",
            "mode-mon-col": 3,
            "weeks-pos": "right",
            "format": {
                "months": "<span color='#E5E9F0'><b>{}</b></span>",
                "days": "<span color='#D8DEE9'><b>{}</b></span>",
                "weeks": "<span color='#EBCB8B'><b>W{}</b></span>",
                "weekdays": "<span color='#A3BE8C'><b>{}</b></span>",
                "today": "<span color='#BF616A'><b><u>{}</u></b></span>"
            }
        }
    },
    "custom/date": {
        "exec": "~/.config/scripts/date.sh",
        "format": "\uf073  {}",
        "interval": 60
    },
    "network": {
        "format-wifi": "\uf1eb  {ipaddr}",
        "format-disconnected": "\uf52f  disconnected",
        "tooltip-format-wifi": "\uf1eb  {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n\uf093 {bandwidthUpBits} \uf019 {bandwidthDownBits}",
    },
    "modules-center": ["sway/workspaces"],
    "modules-left": ["network", "battery", "temperature"],
    "modules-right": ["pulseaudio", "custom/date", "clock"],
    "position": "top",
    "pulseaudio": {
        "format": "{icon} {volume}%",
        "format-icons": {
            "default": ["\uf027", "\uf028"],
            "headphone": "\uf025"
        },
        "format-muted": "\uf026 muted",
        "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
    },
    "sway/workspaces": {
        "all-outputs": true,
        "disable-scroll": true,
        "format": "{icon}",
        "format-icons": {
            "default": "\uf068"
        },
        "persistent_workspaces": {
            "1": [],
            "2": [],
            "3": [],
            "4": [],
            "5": [],
            "6": []
        }
    },
    "temperature": {
        "critical-threshold": 90,
        "format": "\uf2c8 {temperatureC}\u00b0C",
        "format-critical": "\uf071  {temperatureC}\u00b0C",
        "hwmon-path": "/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input",
        "interval": "5"
    }
}