-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.jsonc
More file actions
117 lines (117 loc) · 3.33 KB
/
config.jsonc
File metadata and controls
117 lines (117 loc) · 3.33 KB
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
113
114
115
116
117
// -*- mode: jsonc -*-
{
"layer": "top",
"position": "top", // Waybar position (top|bottom|left|right)
// "height": 25, // Waybar height (to be removed for auto height)
// "spacing": 4, // Gaps between modules (4px)
"margin-top": 8,
"margin-right": 8,
"margin-bottom": 0,
"margin-left": 8,
// Choose the order of the modules
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/scratchpad",
"sway/window"
],
"modules-right": [
"mpris",
"privacy",
"tray",
"pulseaudio",
"network",
"clock"
],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true
},
"sway/mode": {
"format": "<span style=\"italic\"> {}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}",
"on-click": "swaymsg -r scratchpad show"
},
"sway/window": {
"icon": true
},
"mpris": {
"format-playing": " {artist} - {title} - {album}",
"format-paused": " ",
"format-stopped": " ",
"ignored-players": ["firefox"],
"on-click": "",
"on-click-middle": "",
"on-click-right": "",
"artist-len": 35,
"title-len": 45,
"album-len": 35
},
"privacy": {
"icon-spacing": 8,
"icon-size": 16,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
]
},
"tray": {
"spacing": 14,
"icon-size": 16
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-muted": " {format_source}",
"format-bluetooth": "{volume}% {icon}",
"format-bluetooth-muted": "{icon}",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [""]
},
"format-source": " {volume}%",
"format-source-muted": " ",
"on-click": "exec pavucontrol -t 3",
"scroll-step": 5
},
"network": {
"format-wifi": "{signalStrength}% ",
"tooltip-format-wifi": "{essid}\n{frequency} GHz\n{ipaddr}",
"format-ethernet": "",
"tooltip-format-ethernet": "{ipaddr}",
"format-linked": "(No IP) ",
"tooltip-format": "Check settings via nmcli ",
"format-disconnected": "Disconnected ⚠",
"tooltip-format-disconnected": "Check settings via nmcli ",
"on-click": "exec foot --app-id=foot.nmtui nmtui"
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%a %b-%d-%Y %H:%M}",
"on-click": "thunderbird --calendar"
}
}