aboutsummaryrefslogtreecommitdiff
path: root/flavors/linux-river/.config/waybar/config.jsonc
blob: 0620d7c9a5fdacc3b809de00e5a67867abde93ba (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
{
    "layer": "top",
    "position": "top",
    "height": 30,
    "modules-left": ["river/tags"],
    "modules-center": ["clock"],
    "modules-right": ["temperature", "cpu", "memory", "custom/monitor-brightness", "network", "bluetooth", "pulseaudio", "battery", "tray"],

    "temperature": {
        "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
        "thermal-zone": 0,
        "states": {
            "warning": 70,
            "critical": 80
        },
        "format": "\uf2c9  {temperatureC}°C",
        "critical-threshold": 80,
        "format-critical": "\uf2c9  {temperatureC}°C !"
    },

    "backlight": {
        "format": "\uf185  {percent}%",
        "on-scroll-up": "brightnessctl set 5%+",
        "on-scroll-down": "brightnessctl set 5%-"
    },

    "custom/monitor-brightness": {
        "format": "\uf185  {}%",
        "exec": "~/.local/bin/waybar/monitor-brightness.sh get",
        "on-scroll-up": "~/.local/bin/waybar/monitor-brightness.sh up",
        "on-scroll-down": "~/.local/bin/waybar/monitor-brightness.sh down",
        "interval": 5
    },

    "bluetooth": {
        "format": "\uf294  {status}",
        "format-disabled": "",
        "format-off": "",
        "format-on": "",
        "format-connected": "\uf294  {device_alias}",
        "max-length": 24,
        "tooltip-format": "{controller_alias}\n{controller_address}",
        "tooltip-format-connected": "{controller_alias}\n{num_connections} conectado(s)\n\n{device_enumerate}",
        "tooltip-format-enumerate-connected": "{device_alias}",
        "on-click": "foot -e bluetoothctl"
    },

    "cpu": {
        "format": "\uf2db  {usage}%",
        "interval": 2,
        "states": {
            "warning": 70,
            "critical": 90
        }
    },

    "memory": {
        "format": "\uf1c0 {percentage}%",
        "tooltip-format": "{used:0.1f}GB / {total:0.1f}GB usados",
        "interval": 2,
        "states": {
            "warning": 75,
            "critical": 90
        }
    },

    "river/tags": {
        "num-tags": 10,
        "tag-labels": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"],
        "disable-click": false,
        "hide-vacant": false
    },

    "clock": {
        "format": "\uf017  {:%H:%M  %d/%m/%y}"
    },

    "network": {
        "format-wifi": "\uf1eb  {essid} ({signalStrength}%)",
        "format-ethernet": "\uf1e6  {ifname}",
        "format-disconnected": "\uf071  Sin conexión",
        "tooltip-format": "{ifname}: {ipaddr}/{cidr}",
        "tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ifname}: {ipaddr}/{cidr}",
        "tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}",
        "on-click": "nm-connection-editor"
    },

    "pulseaudio": {
        "format": "\uf028  {volume}%",
        "format-muted": "\uf026  Muteado",
        "tooltip-format": "{desc}\n{volume}%",
        "on-click": "pavucontrol",
        "scroll-step": 5
    },

    "battery": {
        "format": "\uf240  {capacity}%",
        "format-charging": "\uf0e7  {capacity}%",
        "states": {
            "warning": 30,
            "critical": 15
        }
    },

    "tray": {
        "spacing": 10
    }
}