-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_sway
103 lines (75 loc) · 2.06 KB
/
config_sway
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
{
"layer": "top",
"position": "top",
"height": 27,
"modules-left": ["sway/workspaces", "custom/scratch", "sway/mode", "sway/window"],
"modules-center": [],
"modules-right": ["network", "temperature", "backlight", "pulseaudio", "battery", "clock", "tray"],
"sway/workspaces": {
"disable-scroll": true,
"disable-markup": true,
"format": "{index}"
},
"sway/window": {
"format": "{}",
"max-length": 150
},
"custom/scratch": {
"interval": 3,
"exec": "swaymsg -t get_tree | jq 'recurse(.nodes[]) | first(select(.name==\"__i3_scratch\")) | .floating_nodes | length | select(. >= 0)'",
"format": "^{}",
"on-click": "swaymsg 'scratchpad show'",
"on-click-right": "swaymsg 'move scratchpad'"
},
"tray": {
"icon-size": 18,
"spacing": 15
},
"clock": {
"format": "{:%a %b %e %R}",
"interval": 30
},
"battery": {
"bat": "BAT0",
"states": {
"full": 99,
"good": 98,
"normal": 98,
"warning": 20,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-good": "{icon} {capacity}%",
"format-full": " {capacity}%",
"format-icons": ["", "", "", "", ""],
"interval": 30
},
"network": {
"interface": "wlp4s0",
"format-wifi": " WiFi-On",
"format-disconnected": "睊 Disconnected",
"interval": 60
},
"temperature": {
"thermal-zone": 0,
"format": "{icon} {temperatureC}°C",
"format-icons":[""],
"interval": 30
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}% ",
"format-icons": ["","","",""],
"interval": 60
},
"pulseaudio": {
"format": "{icon} {volume}% ",
"format-bluetooth": " {volume}% ",
"format-muted":"婢 Mute ",
"interval": 60,
"format-icons": {
"default": [""]
},
"on-click": "blueman-manager"
}
}