aboutsummaryrefslogtreecommitdiff
path: root/py3status/config
blob: 6ea24cc096a2d8a9e6f4e96654215c158021d4b6 (plain) (blame)
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
order += "static_string chromium"
order += "static_string falkon"
order += "static_string dolphin"
order += "static_string atom"
order += "static_string claws-mail"
order += "static_string keepassxc"
order += "static_string clementine"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "volume master"
order += "tztime local"


static_string chromium {
    format = ""
    on_click 1 = "exec --no-startup-id chromium"
}

static_string falkon {
    format = ""
    on_click 1 = "exec --no-startup-id falkon"
}

static_string dolphin {
    format = ""
    on_click 1 = "exec --no-startup-id dolphin"
}

static_string atom {
    format = ""
    on_click 1 = "exec --no-startup-id atom"
}

static_string claws-mail {
    format = ""
    on_click 1 = "exec --no-startup-id claws-mail"
}

static_string keepassxc {
    format = ""
    on_click 1 = "exec --no-startup-id keepassxc"
}

static_string clementine {
    format = ""
    on_click 1 = "exec --no-startup-id clementine"
}

wireless _first_ {
    format_up = " (%quality at %essid, %bitrate) %ip"
    format_down = ""
    on_click 1 = "exec --no-startup-id connman-gtk"
}

ethernet _first_ {
    format_up = " %ip (%speed)"
    format_down = ""
    on_click 1 = "exec --no-startup-id connman-gtk"
}

battery 0 {
    format = "%status %percentage %remaining %emptytime"
    format_down = ""
    status_chr = ""
    status_bat = ""
    status_unk = ""
    status_full = ""
    path = "/sys/class/power_supply/BAT%d/uevent"
    low_threshold = 10
}


volume master {
    format = " %volume"
    format_muted = " muted (%volume)"
    on_click 1 = "exec --no-startup-id pavucontrol"
    on_click 3 = "exec --no-startup-id pulsemixer --toggle-mute"
    on_click 4 = "exec --no-startup-id pulsemixer --max-volume 100 --change-volume +2"
    on_click 5 = "exec --no-startup-id pulsemixer --change-volume -2"
}

tztime local {
    format = "%Y-%m-%d %H:%M:%S"
}