config - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(HTM) git clone git://jay.scot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
config (1200B)
---
1 {
2 // general
3 "reload_style_on_change": true,
4 "layer": "top",
5 "position": "top",
6
7 // layout
8 "modules-left": [
9 "sway/workspaces"
10 ],
11
12 "modules-center": [
13 "custom/vpn"
14 ],
15
16 "modules-right": [
17 "pulseaudio",
18 "tray",
19 "clock"
20 ],
21
22 // modules
23 "sway/workspaces": {
24 "disable-scroll": true,
25 "format": "{name}"
26 },
27
28 "clock": {
29 "format": "{:%H:%M}",
30 "tooltip": false
31 },
32
33 "pulseaudio": {
34 "format": "{icon} {volume:2}% ",
35 "format-muted": "MUTE",
36 "format-icons": {
37 "default": [
38 "",
39 ""
40 ]
41 },
42 "scroll-step": 5,
43 "on-click": "pamixer -t"
44 },
45
46 "custom/vpn": {
47 "format": "{icon} {text}",
48 "format-icons": {
49 "default": [""]
50 },
51 "return-type": "json",
52 "interval": 60,
53 "exec": "$HOME/.config/waybar/waybar_vpn.sh"
54 },
55
56 "custom/mail": {
57 "format": "{icon}",
58 "format-icons": {
59 "default": ["🖂"]
60 },
61 "return-type": "json",
62 "interval": 60,
63 "exec": "$HOME/.config/waybar/waybar_mail.sh"
64 },
65
66 "custom/newsraft": {
67 "format": "{icon}",
68 "format-icons": {
69 "default": ["💩"]
70 },
71 "return-type": "json",
72 "interval": 60,
73 "exec": "$HOME/.config/waybar/waybar_newsraft.sh"
74 },
75
76 "tray": {
77 "icon-size": 16,
78 "spacing": 10
79 }
80 }