aboutsummaryrefslogtreecommitdiff
path: root/waybar/config
blob: 2909de5d953fc04e68375ac2fdeee634c8ee53f7 (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
{
    "layer": "top",
    "spacing": 0,
    "margin": 0,
    "fixed-center": false,
    "modules-left": ["clock", "network", "bluetooth", "backlight", "pulseaudio"],
    "modules-center": ["tray"],
    "modules-right": ["cpu", "memory", "temperature", "disk", "battery"],
    "tray": {
        "icon-size": 20,
        "spacing": 5,
    },
    "bluetooth": {
        "format-on": "<span font-family='Symbols Nerd Font Mono'>󰂯</span>",
        "format-off": "<span font-family='Symbols Nerd Font Mono'>󰂲</span>",
        "format-connected": "<span font-family='Symbols Nerd Font Mono'>󰂱</span>",
        "tooltip-format-connecte": "{device_alias}",
        "tooltip-format-connected-battery": "{device_alias} ({device_battery_percentage}%)",
        "on-click": "foot bluetuith"
    },
    "network": {
        "format-wifi": "<span font-family='Symbols Nerd Font Mono'>󰖩</span>",
        "format-disconnected": "<span font-family='Symbols Nerd Font Mono'>󰖪</span>",
        "tooltip-format": "{essid}",
        "on-click": "foot -T nmtui -o pad=0x0 nmtui"
    },
    "pulseaudio": {
        "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {volume}%",
        "format-muted": "<span font-family='Symbols Nerd Font Mono'>󰝟</span> {volume}%",
        "format-icons": {
            "default": ["󰕿", "󰖀", "󰕾"],
        },
        "on-click": "foot pulsemixer"
    },
    "backlight": {
        "device": "intel_backlight",
        "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {percent}%",
        "format-icons": ["", "", "", "", "", "", "", "", ""],
        "tooltip": false
    },
    "cpu": {
        "interval": 1,
        "format": "<span font-family='Symbols Nerd Font Mono'> </span>{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
        "format-icons": [
            "<span>▁</span>",
            "<span>▂</span>",
            "<span>▃</span>",
            "<span>▄</span>",
            "<span>▅</span>",
            "<span>▆</span>",
            "<span>▇</span>",
            "<span>█</span>"
        ],
        "on-click": "foot -T btop -o pad=0x0 btop",
    },
    "temperature": {
	"interval": 5,
        "hwmon-path-abs": "/sys/devices/platform/coretemp.0/hwmon",
        "input-filename": "temp1_input",
        "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {temperatureC}°",
        "format-critical": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {temperatureC}°",
        "critical-threshold": 70,
        "format-icons": ["", "", "", "", ""],
        "tooltip": false
    },
    "memory": {
        "interval": 5,
        "format": "<span font-family='Symbols Nerd Font Mono'>󰘚</span> {used:0.1f}GiB",
        "tooltip-format": "{used:0.1f}GiB / {total:0.1f}GiB"
    },
    "disk": {
        "format": "<span font-family='Symbols Nerd Font Mono'>󰋊</span> {percentage_used}%",
        "tooltip-format": "{used} / {total}"
    },
    "battery": {
	"interval": 5,
        "states": {
            "warning": 25,
        },
        "format": "<span font-family='Symbols Nerd Font Mono'>{icon}</span> {capacity}%",
	"format-charging": "<span font-family='Symbols Nerd Font Mono'>󰂄</span> {capacity}%",
        "format-icons": ["󰂎","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"],
    },
    "clock": {
        "format": "<span font-family='Symbols Nerd Font Mono'>󰥔</span> {:%H:%M}",
        "tooltip-format": "{:%A, %B %d, %Y (%R)}"
    }
}