summaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 0faef2143daca8539ea7c87558b85ee542b1e3be (about) (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
109
110
111
112
// -*- mode: json -*-

{
    "layer": "top",
    "position": "top",

    "modules-left": [
	"sway/workspaces",
	"custom/right-arrow-dark"
    ],
    "modules-center": [
	"custom/left-arrow-dark",
	"clock#1",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"clock#2",
	"custom/right-arrow-dark",
	"custom/right-arrow-light",
	"clock#3",
	"custom/right-arrow-dark"
    ],
    "modules-right": [
	"custom/left-arrow-dark",
	"pulseaudio",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"memory",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"cpu",
	"custom/left-arrow-light",
	"custom/left-arrow-dark",
	"battery",
	"custom/left-arrow-light",
	"tray"
    ],

    "custom/left-arrow-dark": {
	"format": "",
	"tooltip": false
    },
    "custom/left-arrow-light": {
	"format": "",
	"tooltip": false
    },
    "custom/right-arrow-dark": {
	"format": "",
	"tooltip": false
    },
    "custom/right-arrow-light": {
	"format": "",
	"tooltip": false
    },

    "sway/workspaces": {
	"disable-scroll": true,
	"format": "{name}"
    },

    "clock#1": {
	"format": "{:%a}",
	"tooltip": false
    },
    "clock#2": {
	"format": "{:%H:%M}",
	"tooltip": false
    },
    "clock#3": {
	"format": "{:%d-%m}",
	"tooltip": false
    },

    "pulseaudio": {
	"format": "VOL: {volume:2}%",
	"format-bluetooth": "{icon}  {volume}%",
	"format-muted": "MUTE",
	"format-icons": {
	    "headphones": "",
	    "default": [
		"",
		""
	    ]
	},
	"scroll-step": 5,
	"on-click": "pamixer -t",
	"on-click-right": "pavucontrol"
    },
    "memory": {
	"interval": 5,
	"format": "MEM {}%"
    },
    "cpu": {
	"interval": 5,
	"format": "CPU {usage:2}%"
    },
    "battery": {
	"states": {
	    "good": 95,
	    "warning": 30,
	    "critical": 15
	},
	"format": "BAT: {capacity}%",
    },
    "disk": {
	"interval": 5,
	"format": "Disk {percentage_used:2}%",
	"path": "/"
    },
    "tray": {
	"icon-size": 10
    }
}