-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig
76 lines (74 loc) · 2.27 KB
/
config
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
{
// Basic config
"layer": "bottom",
"position": "bottom",
"height": 30,
"output": "DP-2",
"margin-top": -10,
"margin-bottom": 0,
"margin-right": 100,
"margin-left": 100,
// Modules
"modules-left": ["clock"],
"modules-center": ["sway/workspaces"],
"modules-right": ["pulseaudio", "custom/d", "mpd"],
// Modules configuration
"custom/d": {
"format": "|",
"tooltip": false
},
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}",
"format-icons": {
"1a": "",
"2a": "",
"2b": "",
"3a": "",
"4a": "",
"5a": "",
"0b": "",
"1b": "",
"2b": "",
"3b": "",
"4b": "",
"5b": "",
"6b": "",
"7b": "",
"8b": "",
"9b": "",
"urgent": "",
"default": ""
}
},
"mpd": {
"format": "<span>{stateIcon} </span> ",
"format-disconnected": "<span color=\"#bf616a\"> </span> ",
"format-stopped": "<span color=\"#bf616a\"> </span> ",
"tooltip": false,
"interval": 1,
"state-icons": {
"paused": "<span color=\"#d08770\"></span>",
"playing": "<span color=\"#a3be8c\"></span>",
}
},
"clock": {
"interval": 1,
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "<span color=\"#88c0d0\"></span> {:%Y-%m-%d, %H:%M:%S}",
},
"pulseaudio": {
"format": "{volume}% <span color=\"#88c0d0\">{icon} </span>{format_source}",
"format-muted": "<span color=\"#d08770\">婢 </span>{format_source}",
"format-source": "<span color=\"#88c0d0\"> </span>",
"format-source-muted": "<span color=\"#d08770\"> </span>",
"format-icons": {
"headset": "",
"default": ["", ""]
},
"on-click": "amixer set Master toggle && amixer set Capture toggle",
"on-click-right": "amixer set Capture toggle",
"on-click-middle": "alacritty --class floating -e pulsemixer",
}
}