-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-config.yml
102 lines (85 loc) · 2.21 KB
/
example-config.yml
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
version: "1"
bat_common: &bat_common
level_icons: ["", "", "", "", ""]
state_icons:
charging: ''
urgent_level: 10
pulse_icons: &pulse_icons
devices:
Speakers: "墳"
Headphones: ""
Headset: ""
Microphone: ""
Internal Microphone: ""
Headset Microphone: ""
sink_muted: ""
source_muted: ""
theme:
hue: 0.7
saturation: 0.7
separator_width: 16
blocks:
- name: mpris
# - name: plugin
# path: /home/kraftwerk28/projects/go/src/github.com/kraftwerk28/gost/contrib/build/time.so
# - name: shell
# command: ~/.config/sway/bar-scripts/weather.py
# on_click: ~/.config/sway/bar-scripts/weather.py open
# interval: 5m
# - name: pulseaudio
# node: sink
# format: "{icon}{volume:3*%}"
# on_click: |
# case $BUTTON in
# Right) ~/.config/sway/bar-scripts/switch_audio_sink.py next;;
# Left) pavucontrol -t 3;;
# esac
# icons: *pulse_icons
# - name: pulseaudio
# node: source
# format: "{icon}{volume:3*%}"
# icons: *pulse_icons
# on_click: |
# case $BUTTON in
# Left) pavucontrol -t 4;;
# esac
# - name: bluez
# format: " {devices}"
# device_format: "{icon}"
# on_click: |
# case $BUTTON in
# Left) blueman-manager;;
# esac
# icons:
# phone: " "
# audio-card: " "
# audio-headset: " "
# input-keyboard: " "
# - name: networkmanager
# format: "{status_icon}{vpn}{ipv4$}{access_point}"
# icons:
# vpn: "嬨"
# unavailable: " "
# wifi:
# connected: "直"
# disconnected: "睊"
# connecting: " "
# connected_local: "直"
# ethernet:
# connected: ""
# disconnected: ""
# - name: shell
# command: >
# awk -f ~/.config/sway/bar-scripts/cputemp.awk <(sensors)
# interval: 10s
# json: true
# - <<: *bat_common
# name: battery
# format: " {percentage:3*%}"
# upower_device: keyboard_hid_dco2co26o0co73o0b_battery
# - <<: *bat_common
# name: battery
# format: "{is_charging$}{state_icon}{percentage:3*%}"
# - name: sway_layout
# format: "{flag}"
# - name: time