Add twmn module for switching notifications on and off

This commit is contained in:
Milos Miljanic 2019-07-30 19:48:08 +02:00
parent 44bc1ab287
commit 1853723eb1
No known key found for this signature in database
GPG key ID: 34AC6A0400650287
4 changed files with 702 additions and 481 deletions

39
bumblebee/modules/twmn.py Normal file
View file

@ -0,0 +1,39 @@
#pylint: disable=C0111,R0903
"""Toggle twmn notifications."""
import bumblebee.input
import bumblebee.output
import bumblebee.engine
class Module(bumblebee.engine.Module):
def __init__(self, engine, config):
super(Module, self).__init__(engine, config,
bumblebee.output.Widget(full_text="")
)
self._paused = False
# Make sure that twmn is currently not paused
try:
bumblebee.util.execute("killall -SIGUSR2 twmnd")
except:
pass
engine.input.register_callback(self, button=bumblebee.input.LEFT_MOUSE,
cmd=self.toggle_status
)
def toggle_status(self, event):
self._paused = not self._paused
try:
if self._paused:
bumblebee.util.execute("systemctl --user start twmnd")
else:
bumblebee.util.execute("systemctl --user stop twmnd")
except:
self._paused = not self._paused # toggling failed
def state(self, widget):
if self._paused:
return ["muted"]
return ["unmuted"]

View file

@ -1,137 +1,303 @@
{ {
"defaults": { "defaults": {
"padding": " " "padding": " "
}, },
"memory": { "prefix": "ram" }, "memory": {
"cpu": { "prefix": "cpu" }, "prefix": "ram"
"disk": { "prefix": "hdd" }, },
"dnf": { "prefix": "dnf" }, "cpu": {
"apt": { "prefix": "apt" }, "prefix": "cpu"
"brightness": { "prefix": "o" }, },
"cmus": { "disk": {
"playing": { "prefix": ">" }, "prefix": "hdd"
"paused": { "prefix": "||" }, },
"stopped": { "prefix": "[]" }, "dnf": {
"prev": { "prefix": "|<" }, "prefix": "dnf"
"next": { "prefix": ">|" }, },
"shuffle-on": { "prefix": "S" }, "apt": {
"shuffle-off": { "prefix": "[s]" }, "prefix": "apt"
"repeat-on": { "prefix": "R" }, },
"repeat-off": { "prefix": "[r]" } "brightness": {
}, "prefix": "o"
"pasink": { },
"muted": { "prefix": "audio(mute)" }, "cmus": {
"unmuted": { "prefix": "audio" } "playing": {
}, "prefix": ">"
"amixer": { },
"muted": { "prefix": "audio(mute)" }, "paused": {
"unmuted": { "prefix": "audio" } "prefix": "||"
}, },
"pasource": { "stopped": {
"muted": { "prefix": "mic(mute)" }, "prefix": "[]"
"unmuted": { "prefix": "mic" } },
}, "prev": {
"nic": { "prefix": "|<"
"wireless-up": { "prefix": "wifi" }, },
"wireless-down": { "prefix": "wifi" }, "next": {
"wired-up": { "prefix": "lan" }, "prefix": ">|"
"wired-down": { "prefix": "lan" }, },
"tunnel-up": { "prefix": "tun" }, "shuffle-on": {
"tunnel-down": { "prefix": "tun" } "prefix": "S"
}, },
"battery": { "shuffle-off": {
"charged": { "suffix": "full" }, "prefix": "[s]"
"charging": { "suffix": "chr" }, },
"AC": { "suffix": "ac" }, "repeat-on": {
"discharging-10": { "prefix": "R"
"prefix": "!", },
"suffix": "dis" "repeat-off": {
}, "prefix": "[r]"
"discharging-25": { "suffix": "dis" },
"discharging-50": { "suffix": "dis" },
"discharging-80": { "suffix": "dis" },
"discharging-100": { "suffix": "dis" },
"unknown-25": { "suffix": "?" },
"unknown-50": { "suffix": "?" },
"unknown-80": { "suffix": "?" },
"unknown-100": { "suffix": "?" }
},
"battery_all": {
"charged": { "suffix": "full" },
"charging": { "suffix": "chr" },
"AC": { "suffix": "ac" },
"discharging-10": {
"prefix": "!",
"suffix": "dis"
},
"discharging-25": { "suffix": "dis" },
"discharging-50": { "suffix": "dis" },
"discharging-80": { "suffix": "dis" },
"discharging-100": { "suffix": "dis" },
"unknown-25": { "suffix": "?" },
"unknown-50": { "suffix": "?" },
"unknown-80": { "suffix": "?" },
"unknown-100": { "suffix": "?" }
},
"caffeine": {
"activated": {"prefix": "caf-on" }, "deactivated": { "prefix": "caf-off " }
},
"xrandr": {
"on": { "prefix": " off "}, "off": { "prefix": " on "}, "refresh": { "prefix": " refresh "}
},
"redshift": {
"day": { "prefix": "day" }, "night": { "prefix": "night" }, "transition": { "prefix": "trans" }
},
"docker_ps": {
"prefix": "containers"
},
"sensors": {
"prefix": "sensors"
},
"traffic": {
"rx": { "prefix": "down"},
"tx": { "prefix": "up"}
},
"network_traffic": {
"rx": { "prefix": "down" },
"tx": { "prefix": "up" }
},
"mpd": {
"playing": { "prefix": ">" },
"paused": { "prefix": "||" },
"stopped": { "prefix": "[]" },
"prev": { "prefix": "|<" },
"next": { "prefix": ">|" },
"shuffle-on": { "prefix": "S" },
"shuffle-off": { "prefix": "[s]" },
"repeat-on": { "prefix": "R" },
"repeat-off": { "prefix": "[r]" }
},
"github": {
"prefix": "github"
},
"spotify": {
"prefix": ""
},
"uptime": {
"prefix": "uptime"
},
"zpool": {
"poolread": {"prefix": "pool read "},
"poolwrite": {"prefix": "pool write "},
"ONLINE": {"prefix": "pool"},
"FAULTED": {"prefix": "pool (!)"},
"DEGRADED": {"prefix": "pool (!)"}
},
"git": {
"main": { "prefix": "" },
"new": { "prefix": "[n]" },
"modified": { "prefix": "[m]" },
"deleted": { "prefix": "[d]" }
},
"dunst": {
"muted": { "prefix": "dunst(muted)"},
"unmuted": { "prefix": "dunst" }
} }
},
"pasink": {
"muted": {
"prefix": "audio(mute)"
},
"unmuted": {
"prefix": "audio"
}
},
"amixer": {
"muted": {
"prefix": "audio(mute)"
},
"unmuted": {
"prefix": "audio"
}
},
"pasource": {
"muted": {
"prefix": "mic(mute)"
},
"unmuted": {
"prefix": "mic"
}
},
"nic": {
"wireless-up": {
"prefix": "wifi"
},
"wireless-down": {
"prefix": "wifi"
},
"wired-up": {
"prefix": "lan"
},
"wired-down": {
"prefix": "lan"
},
"tunnel-up": {
"prefix": "tun"
},
"tunnel-down": {
"prefix": "tun"
}
},
"battery": {
"charged": {
"suffix": "full"
},
"charging": {
"suffix": "chr"
},
"AC": {
"suffix": "ac"
},
"discharging-10": {
"prefix": "!",
"suffix": "dis"
},
"discharging-25": {
"suffix": "dis"
},
"discharging-50": {
"suffix": "dis"
},
"discharging-80": {
"suffix": "dis"
},
"discharging-100": {
"suffix": "dis"
},
"unknown-25": {
"suffix": "?"
},
"unknown-50": {
"suffix": "?"
},
"unknown-80": {
"suffix": "?"
},
"unknown-100": {
"suffix": "?"
}
},
"battery_all": {
"charged": {
"suffix": "full"
},
"charging": {
"suffix": "chr"
},
"AC": {
"suffix": "ac"
},
"discharging-10": {
"prefix": "!",
"suffix": "dis"
},
"discharging-25": {
"suffix": "dis"
},
"discharging-50": {
"suffix": "dis"
},
"discharging-80": {
"suffix": "dis"
},
"discharging-100": {
"suffix": "dis"
},
"unknown-25": {
"suffix": "?"
},
"unknown-50": {
"suffix": "?"
},
"unknown-80": {
"suffix": "?"
},
"unknown-100": {
"suffix": "?"
}
},
"caffeine": {
"activated": {
"prefix": "caf-on"
},
"deactivated": {
"prefix": "caf-off "
}
},
"xrandr": {
"on": {
"prefix": " off "
},
"off": {
"prefix": " on "
},
"refresh": {
"prefix": " refresh "
}
},
"redshift": {
"day": {
"prefix": "day"
},
"night": {
"prefix": "night"
},
"transition": {
"prefix": "trans"
}
},
"docker_ps": {
"prefix": "containers"
},
"sensors": {
"prefix": "sensors"
},
"traffic": {
"rx": {
"prefix": "down"
},
"tx": {
"prefix": "up"
}
},
"mpd": {
"playing": {
"prefix": ">"
},
"paused": {
"prefix": "||"
},
"stopped": {
"prefix": "[]"
},
"prev": {
"prefix": "|<"
},
"next": {
"prefix": ">|"
},
"shuffle-on": {
"prefix": "S"
},
"shuffle-off": {
"prefix": "[s]"
},
"repeat-on": {
"prefix": "R"
},
"repeat-off": {
"prefix": "[r]"
}
},
"github": {
"prefix": "github"
},
"spotify": {
"prefix": ""
},
"uptime": {
"prefix": "uptime"
},
"zpool": {
"poolread": {
"prefix": "pool read "
},
"poolwrite": {
"prefix": "pool write "
},
"ONLINE": {
"prefix": "pool"
},
"FAULTED": {
"prefix": "pool (!)"
},
"DEGRADED": {
"prefix": "pool (!)"
}
},
"git": {
"main": {
"prefix": ""
},
"new": {
"prefix": "[n]"
},
"modified": {
"prefix": "[m]"
},
"deleted": {
"prefix": "[d]"
}
},
"dunst": {
"muted": {
"prefix": "dunst(muted)"
},
"unmuted": {
"prefix": "dunst"
}
},
"twmn": {
"muted": {
"prefix": "twmn"
},
"unmuted": {
"prefix": "twmn(muted)"
}
}
} }

View file

@ -1,210 +1,217 @@
{ {
"defaults": { "defaults": {
"separator": "", "padding": " ", "separator": "",
"unknown": { "prefix": "" } "padding": " ",
}, "unknown": { "prefix": "" }
"date": { "prefix": "" }, },
"time": { "prefix": "" }, "date": { "prefix": "" },
"datetime": { "prefix": "" }, "time": { "prefix": "" },
"datetz": { "prefix": "" }, "datetime": { "prefix": "" },
"timetz": { "prefix": "" }, "datetz": { "prefix": "" },
"datetimetz": { "prefix": "" }, "timetz": { "prefix": "" },
"memory": { "prefix": "" }, "datetimetz": { "prefix": "" },
"cpu": { "prefix": "" }, "memory": { "prefix": "" },
"disk": { "prefix": "" }, "cpu": { "prefix": "" },
"dnf": { "prefix": "" }, "disk": { "prefix": "" },
"apt": { "prefix": "" }, "dnf": { "prefix": "" },
"pacman": { "prefix": "" }, "apt": { "prefix": "" },
"brightness": { "prefix": "" }, "pacman": { "prefix": "" },
"load": { "prefix": "" }, "brightness": { "prefix": "" },
"layout": { "prefix": "" }, "load": { "prefix": "" },
"layout-xkb": { "prefix": "" }, "layout": { "prefix": "" },
"notmuch_count": { "empty": {"prefix": "\uf0e0" }, "layout-xkb": { "prefix": "" },
"items": {"prefix": "\uf0e0" } "notmuch_count": {
}, "empty": { "prefix": "\uf0e0" },
"todo": { "empty": {"prefix": "" }, "items": { "prefix": "\uf0e0" }
"items": {"prefix": "" }, },
"uptime": {"prefix": "" } "todo": {
}, "empty": { "prefix": "" },
"zpool": { "items": { "prefix": "" },
"poolread": {"prefix": "→ "}, "uptime": { "prefix": "" }
"poolwrite": {"prefix": "← "}, },
"ONLINE": {"prefix": ""}, "zpool": {
"FAULTED": {"prefix": "!"}, "poolread": { "prefix": "→ " },
"DEGRADED": {"prefix": "!"} "poolwrite": { "prefix": "← " },
}, "ONLINE": { "prefix": "" },
"cmus": { "FAULTED": { "prefix": "!" },
"playing": { "prefix": "" }, "DEGRADED": { "prefix": "!" }
"paused": { "prefix": "" }, },
"stopped": { "prefix": "" }, "cmus": {
"prev": { "prefix": "" }, "playing": { "prefix": "" },
"next": { "prefix": "" }, "paused": { "prefix": "" },
"shuffle-on": { "prefix": "" }, "stopped": { "prefix": "" },
"shuffle-off": { "prefix": "" }, "prev": { "prefix": "" },
"repeat-on": { "prefix": "" }, "next": { "prefix": "" },
"repeat-off": { "prefix": "" } "shuffle-on": { "prefix": "" },
}, "shuffle-off": { "prefix": "" },
"gpmdp": { "repeat-on": { "prefix": "" },
"playing": { "prefix": "" }, "repeat-off": { "prefix": "" }
"paused": { "prefix": "" }, },
"stopped": { "prefix": "" }, "gpmdp": {
"prev": { "prefix": "" }, "playing": { "prefix": "" },
"next": { "prefix": "" } "paused": { "prefix": "" },
}, "stopped": { "prefix": "" },
"pasink": { "prev": { "prefix": "" },
"muted": { "prefix": "" }, "next": { "prefix": "" }
"unmuted": { "prefix": "" } },
}, "pasink": {
"amixer": { "muted": { "prefix": "" },
"muted": { "prefix": "" }, "unmuted": { "prefix": "" }
"unmuted": { "prefix": "" } },
}, "amixer": {
"pasource": { "muted": { "prefix": "" },
"muted": { "prefix": "" }, "unmuted": { "prefix": "" }
"unmuted": { "prefix": "" } },
}, "pasource": {
"kernel": { "muted": { "prefix": "" },
"prefix": "\uf17c" "unmuted": { "prefix": "" }
},
"kernel": {
"prefix": "\uf17c"
},
"nic": {
"wireless-up": { "prefix": "" },
"wireless-down": { "prefix": "" },
"wired-up": { "prefix": "" },
"wired-down": { "prefix": "" },
"tunnel-up": { "prefix": "" },
"tunnel-down": { "prefix": "" }
},
"bluetooth": {
"ON": { "prefix": "" },
"OFF": { "prefix": "" },
"?": { "prefix": "" }
},
"battery": {
"charged": { "prefix": "", "suffix": "" },
"AC": { "suffix": "" },
"charging": {
"prefix": ["", "", "", "", ""],
"suffix": ""
}, },
"nic": { "discharging-10": { "prefix": "", "suffix": "" },
"wireless-up": { "prefix": "" }, "discharging-25": { "prefix": "", "suffix": "" },
"wireless-down": { "prefix": "" }, "discharging-50": { "prefix": "", "suffix": "" },
"wired-up": { "prefix": "" }, "discharging-80": { "prefix": "", "suffix": "" },
"wired-down": { "prefix": "" }, "discharging-100": { "prefix": "", "suffix": "" },
"tunnel-up": { "prefix": "" }, "unlimited": { "prefix": "", "suffix": "" },
"tunnel-down": { "prefix": "" } "estimate": { "prefix": "" },
}, "unknown-10": { "prefix": "", "suffix": "" },
"bluetooth": { "unknown-25": { "prefix": "", "suffix": "" },
"ON": { "prefix": "" }, "unknown-50": { "prefix": "", "suffix": "" },
"OFF": { "prefix": "" }, "unknown-80": { "prefix": "", "suffix": "" },
"?": { "prefix": "" } "unknown-100": { "prefix": "", "suffix": "" }
},
"battery_all": {
"charged": { "prefix": "", "suffix": "" },
"AC": { "suffix": "" },
"charging": {
"prefix": ["", "", "", "", ""],
"suffix": ""
}, },
"battery": { "discharging-10": { "prefix": "", "suffix": "" },
"charged": { "prefix": "", "suffix": "" }, "discharging-25": { "prefix": "", "suffix": "" },
"AC": { "suffix": "" }, "discharging-50": { "prefix": "", "suffix": "" },
"charging": { "discharging-80": { "prefix": "", "suffix": "" },
"prefix": [ "", "", "", "", "" ], "discharging-100": { "prefix": "", "suffix": "" },
"suffix": "" "unlimited": { "prefix": "", "suffix": "" },
}, "estimate": { "prefix": "" },
"discharging-10": { "prefix": "", "suffix": "" }, "unknown-10": { "prefix": "", "suffix": "" },
"discharging-25": { "prefix": "", "suffix": "" }, "unknown-25": { "prefix": "", "suffix": "" },
"discharging-50": { "prefix": "", "suffix": "" }, "unknown-50": { "prefix": "", "suffix": "" },
"discharging-80": { "prefix": "", "suffix": "" }, "unknown-80": { "prefix": "", "suffix": "" },
"discharging-100": { "prefix": "", "suffix": "" }, "unknown-100": { "prefix": "", "suffix": "" }
"unlimited": { "prefix": "", "suffix": "" }, },
"estimate": { "prefix": "" }, "caffeine": {
"unknown-10": { "prefix": "", "suffix": "" }, "activated": { "prefix": " " },
"unknown-25": { "prefix": "", "suffix": "" }, "deactivated": { "prefix": " " }
"unknown-50": { "prefix": "", "suffix": "" }, },
"unknown-80": { "prefix": "", "suffix": "" }, "xrandr": {
"unknown-100": { "prefix": "", "suffix": "" } "on": { "prefix": " " },
}, "off": { "prefix": " " },
"battery_all": { "refresh": { "prefix": "" }
"charged": { "prefix": "", "suffix": "" }, },
"AC": { "suffix": "" }, "redshift": {
"charging": { "day": { "prefix": "" },
"prefix": [ "", "", "", "", "" ], "night": { "prefix": "" },
"suffix": "" "transition": { "prefix": "" }
}, },
"discharging-10": { "prefix": "", "suffix": "" }, "docker_ps": {
"discharging-25": { "prefix": "", "suffix": "" }, "prefix": ""
"discharging-50": { "prefix": "", "suffix": "" }, },
"discharging-80": { "prefix": "", "suffix": "" }, "sensors": {
"discharging-100": { "prefix": "", "suffix": "" }, "prefix": ""
"unlimited": { "prefix": "", "suffix": "" }, },
"estimate": { "prefix": "" }, "sensors2": {
"unknown-10": { "prefix": "", "suffix": "" }, "temp": { "prefix": "" },
"unknown-25": { "prefix": "", "suffix": "" }, "fan": { "prefix": "" },
"unknown-50": { "prefix": "", "suffix": "" }, "cpu": { "prefix": "" }
"unknown-80": { "prefix": "", "suffix": "" }, },
"unknown-100": { "prefix": "", "suffix": "" } "traffic": {
}, "rx": { "prefix": "" },
"caffeine": { "tx": { "prefix": "" }
"activated": {"prefix": " " }, },
"deactivated": { "prefix": " " } "network_traffic": {
}, "rx": { "prefix": "" },
"xrandr": { "tx": { "prefix": "" }
"on": { "prefix": " "}, },
"off": { "prefix": " " }, "mpd": {
"refresh": { "prefix": "" } "playing": { "prefix": "" },
}, "paused": { "prefix": "" },
"redshift": { "stopped": { "prefix": "" },
"day": { "prefix": "" }, "prev": { "prefix": "" },
"night": { "prefix": "" }, "next": { "prefix": "" },
"transition": { "prefix": "" } "shuffle-on": { "prefix": "" },
}, "shuffle-off": { "prefix": "" },
"docker_ps": { "repeat-on": { "prefix": "" },
"prefix": "" "repeat-off": { "prefix": "" }
}, },
"sensors": { "arch-update": {
"prefix": "" "prefix": " "
}, },
"sensors2": { "github": {
"temp": { "prefix": "" }, "prefix": "  "
"fan": { "prefix": "" }, },
"cpu": { "prefix": "" } "spotify": {
}, "prefix": "  "
"traffic":{ },
"rx": { "prefix": "" }, "publicip": {
"tx": { "prefix": "" } "prefix": "  "
}, },
"network_traffic": { "weather": {
"rx": { "prefix": "" }, "clouds": { "prefix": "" },
"tx": { "prefix": "" } "rain": { "prefix": "" },
}, "snow": { "prefix": "" },
"mpd": { "clear": { "prefix": "" },
"playing": { "prefix": "" }, "thunder": { "prefix": "" }
"paused": { "prefix": "" }, },
"stopped": { "prefix": "" }, "taskwarrior": {
"prev": { "prefix": "" }, "prefix": "  "
"next": { "prefix": "" }, },
"shuffle-on": { "prefix": "" }, "progress": {
"shuffle-off": { "prefix": "" }, "copying": {
"repeat-on": { "prefix": "" }, "prefix": ""
"repeat-off": { "prefix": "" }
},
"arch-update": {
"prefix": " "
},
"github": {
"prefix": "  "
},
"spotify": {
"prefix": "  "
},
"publicip": {
"prefix": "  "
},
"weather": {
"clouds": { "prefix": "" },
"rain": { "prefix": "" },
"snow": { "prefix": "" },
"clear": { "prefix": "" },
"thunder": { "prefix": "" }
},
"taskwarrior": {
"prefix": "  "
},
"progress": {
"copying": {
"prefix": ""
}
},
"git": {
"main": { "prefix": "" },
"new": { "prefix": "" },
"modified": { "prefix": "" },
"deleted": { "prefix": "" }
},
"dunst": {
"muted": { "prefix": ""},
"unmuted": { "prefix": "" }
},
"pihole": {
"enabled": { "prefix": "" },
"disabled": { "prefix": "" }
},
"vpn": {
"prefix": ""
} }
},
"git": {
"main": { "prefix": "" },
"new": { "prefix": "" },
"modified": { "prefix": "" },
"deleted": { "prefix": "" }
},
"dunst": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
},
"twmn": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
},
"pihole": {
"enabled": { "prefix": "" },
"disabled": { "prefix": "" }
},
"vpn": {
"prefix": ""
}
} }

View file

@ -1,157 +1,163 @@
{ {
"defaults": { "defaults": {
"separator": "\ue0b2", "padding": "\u2800", "separator": "\ue0b2",
"unknown": { "prefix": "\uf100" } "padding": "\u2800",
}, "unknown": { "prefix": "\uf100" }
"date": { "prefix": "\uf2d1" }, },
"time": { "prefix": "\uf3b3" }, "date": { "prefix": "\uf2d1" },
"datetime": { "prefix": "\uf3b3" }, "time": { "prefix": "\uf3b3" },
"memory": { "prefix": "\uf389" }, "datetime": { "prefix": "\uf3b3" },
"cpu": { "prefix": "\uf4b0" }, "memory": { "prefix": "\uf389" },
"disk": { "prefix": "\u26c1" }, "cpu": { "prefix": "\uf4b0" },
"dnf": { "prefix": "\uf2be" }, "disk": { "prefix": "\u26c1" },
"apt": { "prefix": "\uf2be" }, "dnf": { "prefix": "\uf2be" },
"pacman": { "prefix": "\uf2be" }, "apt": { "prefix": "\uf2be" },
"brightness": { "prefix": "\u263c" }, "pacman": { "prefix": "\uf2be" },
"load": { "prefix": "\uf13d" }, "brightness": { "prefix": "\u263c" },
"layout": { "prefix": "\uf38c" }, "load": { "prefix": "\uf13d" },
"layout-xkb": { "prefix": "\uf38c" }, "layout": { "prefix": "\uf38c" },
"todo": { "empty": {"prefix": "\uf453" }, "layout-xkb": { "prefix": "\uf38c" },
"items": {"prefix": "\uf454" }, "todo": {
"uptime": {"prefix": "\uf4c1" } "empty": { "prefix": "\uf453" },
}, "items": { "prefix": "\uf454" },
"zpool": { "uptime": { "prefix": "\uf4c1" }
"poolread": {"prefix": "\u26c1\uf3d6"}, },
"poolwrite": {"prefix": "\u26c1\uf3d5"}, "zpool": {
"ONLINE": {"prefix": "\u26c1"}, "poolread": { "prefix": "\u26c1\uf3d6" },
"FAULTED": {"prefix": "\u26c1\uf3bc"}, "poolwrite": { "prefix": "\u26c1\uf3d5" },
"DEGRADED": {"prefix": "\u26c1\uf3bc"} "ONLINE": { "prefix": "\u26c1" },
}, "FAULTED": { "prefix": "\u26c1\uf3bc" },
"cmus": { "DEGRADED": { "prefix": "\u26c1\uf3bc" }
"playing": { "prefix": "\uf488" }, },
"paused": { "prefix": "\uf210" }, "cmus": {
"stopped": { "prefix": "\uf24f" }, "playing": { "prefix": "\uf488" },
"prev": { "prefix": "\uf4ab" }, "paused": { "prefix": "\uf210" },
"next": { "prefix": "\uf4ad" }, "stopped": { "prefix": "\uf24f" },
"shuffle-on": { "prefix": "\uf4a8" }, "prev": { "prefix": "\uf4ab" },
"shuffle-off": { "prefix": "\uf453" }, "next": { "prefix": "\uf4ad" },
"repeat-on": { "prefix": "\uf459" }, "shuffle-on": { "prefix": "\uf4a8" },
"repeat-off": { "prefix": "\uf30f" } "shuffle-off": { "prefix": "\uf453" },
}, "repeat-on": { "prefix": "\uf459" },
"gpmdp": { "repeat-off": { "prefix": "\uf30f" }
"playing": { "prefix": "\uf488" }, },
"paused": { "prefix": "\uf210" }, "gpmdp": {
"stopped": { "prefix": "\uf24f" }, "playing": { "prefix": "\uf488" },
"prev": { "prefix": "\uf4ab" }, "paused": { "prefix": "\uf210" },
"next": { "prefix": "\uf4ad" } "stopped": { "prefix": "\uf24f" },
}, "prev": { "prefix": "\uf4ab" },
"pasink": { "next": { "prefix": "\uf4ad" }
"muted": { "prefix": "\uf3b9" }, },
"unmuted": { "prefix": "\uf3ba" } "pasink": {
}, "muted": { "prefix": "\uf3b9" },
"amixer": { "unmuted": { "prefix": "\uf3ba" }
"muted": { "prefix": "\uf3b9" }, },
"unmuted": { "prefix": "\uf3ba" } "amixer": {
}, "muted": { "prefix": "\uf3b9" },
"pasource": { "unmuted": { "prefix": "\uf3ba" }
"muted": { "prefix": "\uf395" }, },
"unmuted": { "prefix": "\uf2ec" } "pasource": {
}, "muted": { "prefix": "\uf395" },
"unmuted": { "prefix": "\uf2ec" }
},
"kernel": { "kernel": {
"prefix": "\uf17c" "prefix": "\uf17c"
}, },
"nic": { "nic": {
"wireless-up": { "prefix": "\uf25c" }, "wireless-up": { "prefix": "\uf25c" },
"wireless-down": { "prefix": "\uf3d0" }, "wireless-down": { "prefix": "\uf3d0" },
"wired-up": { "prefix": "\uf270" }, "wired-up": { "prefix": "\uf270" },
"wired-down": { "prefix": "\uf271" }, "wired-down": { "prefix": "\uf271" },
"tunnel-up": { "prefix": "\uf133" }, "tunnel-up": { "prefix": "\uf133" },
"tunnel-down": { "prefix": "\uf306" } "tunnel-down": { "prefix": "\uf306" }
}, },
"bluetooth": { "bluetooth": {
"ON": { "prefix": "\uf116" }, "ON": { "prefix": "\uf116" },
"OFF": { "prefix": "\uf116" }, "OFF": { "prefix": "\uf116" },
"?": { "prefix": "\uf116" } "?": { "prefix": "\uf116" }
},
"battery": {
"charged": { "prefix": "\uf113", "suffix": "\uf493" },
"AC": { "suffix": "\uf493" },
"charging": {
"prefix": ["\uf112", "\uf115", "\uf114", "", "\uf111"],
"suffix": "\uf493"
}, },
"battery": { "discharging-10": { "prefix": "\uf112", "suffix": "\uf3bc" },
"charged": { "prefix": "\uf113", "suffix": "\uf493" }, "discharging-25": { "prefix": "\uf115", "suffix": "\uf3e6" },
"AC": { "suffix": "\uf493" }, "discharging-50": { "prefix": "\uf115", "suffix": "\uf3e6" },
"charging": { "discharging-80": { "prefix": "\uf114", "suffix": "\uf3e6" },
"prefix": [ "\uf112", "\uf115", "\uf114", "", "\uf111" ], "discharging-100": { "prefix": "\uf113", "suffix": "\uf3e6" },
"suffix": "\uf493" "unknown-10": { "prefix": "\uf112", "suffix": "\uf3bc" },
}, "unknown-25": { "prefix": "\uf115", "suffix": "\uf142" },
"discharging-10": { "prefix": "\uf112", "suffix": "\uf3bc" }, "unknown-50": { "prefix": "\uf115", "suffix": "\uf142" },
"discharging-25": { "prefix": "\uf115", "suffix": "\uf3e6" }, "unknown-80": { "prefix": "\uf114", "suffix": "\uf142" },
"discharging-50": { "prefix": "\uf115", "suffix": "\uf3e6" }, "unknown-100": { "prefix": "\uf113", "suffix": "\uf142" },
"discharging-80": { "prefix": "\uf114", "suffix": "\uf3e6" }, "unlimited": { "prefix": "\uf402", "suffix": "\uf493" },
"discharging-100": { "prefix": "\uf113", "suffix": "\uf3e6" }, "estimate": { "prefix": "\uf402" }
"unknown-10": { "prefix": "\uf112", "suffix": "\uf3bc" }, },
"unknown-25": { "prefix": "\uf115", "suffix": "\uf142" }, "battery_all": {
"unknown-50": { "prefix": "\uf115", "suffix": "\uf142" }, "charged": { "prefix": "\uf113", "suffix": "\uf493" },
"unknown-80": { "prefix": "\uf114", "suffix": "\uf142" }, "AC": { "suffix": "\uf493" },
"unknown-100": { "prefix": "\uf113", "suffix": "\uf142" }, "charging": {
"unlimited": { "prefix": "\uf402", "suffix": "\uf493" }, "prefix": ["\uf112", "\uf115", "\uf114", "", "\uf111"],
"estimate": { "prefix": "\uf402" } "suffix": "\uf493"
}, },
"battery_all": { "discharging-10": { "prefix": "\uf112", "suffix": "\uf3bc" },
"charged": { "prefix": "\uf113", "suffix": "\uf493" }, "discharging-25": { "prefix": "\uf115", "suffix": "\uf3e6" },
"AC": { "suffix": "\uf493" }, "discharging-50": { "prefix": "\uf115", "suffix": "\uf3e6" },
"charging": { "discharging-80": { "prefix": "\uf114", "suffix": "\uf3e6" },
"prefix": [ "\uf112", "\uf115", "\uf114", "", "\uf111" ], "discharging-100": { "prefix": "\uf113", "suffix": "\uf3e6" },
"suffix": "\uf493" "unknown-10": { "prefix": "\uf112", "suffix": "\uf3bc" },
}, "unknown-25": { "prefix": "\uf115", "suffix": "\uf142" },
"discharging-10": { "prefix": "\uf112", "suffix": "\uf3bc" }, "unknown-50": { "prefix": "\uf115", "suffix": "\uf142" },
"discharging-25": { "prefix": "\uf115", "suffix": "\uf3e6" }, "unknown-80": { "prefix": "\uf114", "suffix": "\uf142" },
"discharging-50": { "prefix": "\uf115", "suffix": "\uf3e6" }, "unknown-100": { "prefix": "\uf113", "suffix": "\uf142" },
"discharging-80": { "prefix": "\uf114", "suffix": "\uf3e6" }, "unlimited": { "prefix": "\uf402", "suffix": "\uf493" },
"discharging-100": { "prefix": "\uf113", "suffix": "\uf3e6" }, "estimate": { "prefix": "\uf402" }
"unknown-10": { "prefix": "\uf112", "suffix": "\uf3bc" }, },
"unknown-25": { "prefix": "\uf115", "suffix": "\uf142" }, "caffeine": {
"unknown-50": { "prefix": "\uf115", "suffix": "\uf142" }, "activated": { "prefix": "\uf272\u3000\uf354" },
"unknown-80": { "prefix": "\uf114", "suffix": "\uf142" }, "deactivated": { "prefix": "\uf272\u3000\uf355" }
"unknown-100": { "prefix": "\uf113", "suffix": "\uf142" }, },
"unlimited": { "prefix": "\uf402", "suffix": "\uf493" }, "xrandr": {
"estimate": { "prefix": "\uf402" } "on": { "prefix": "\uf465\u3000\uf354" },
}, "off": { "prefix": "\uf465\u3000\uf355" }
"caffeine": { },
"activated": {"prefix": "\uf272\u3000\uf354" }, "deactivated": { "prefix": "\uf272\u3000\uf355" } "redshift": {
}, "day": { "prefix": "\uf4b6" },
"xrandr": { "night": { "prefix": "\uf467" },
"on": { "prefix": "\uf465\u3000\uf354"}, "off": { "prefix": "\uf465\u3000\uf355" } "transition": { "prefix": "\uf475" }
}, },
"redshift": {
"day": { "prefix": "\uf4b6" }, "night": { "prefix": "\uf467" }, "transition": { "prefix": "\uf475" }
},
"sensors": { "sensors": {
"prefix": "\uf3b6" "prefix": "\uf3b6"
}, },
"traffic":{ "traffic": {
"rx": { "prefix": "\uf365" }, "rx": { "prefix": "\uf365" },
"tx": { "prefix": "\uf35f" } "tx": { "prefix": "\uf35f" }
}, },
"network_traffic": { "network_traffic": {
"rx": { "prefix": "\uf365" }, "rx": { "prefix": "\uf365" },
"tx": { "prefix": "\uf35f" } "tx": { "prefix": "\uf35f" }
}, },
"mpd": { "mpd": {
"playing": { "prefix": "\uf488" }, "playing": { "prefix": "\uf488" },
"paused": { "prefix": "\uf210" }, "paused": { "prefix": "\uf210" },
"stopped": { "prefix": "\uf24f" }, "stopped": { "prefix": "\uf24f" },
"prev": { "prefix": "\uf4ab" }, "prev": { "prefix": "\uf4ab" },
"next": { "prefix": "\uf4ad" }, "next": { "prefix": "\uf4ad" },
"shuffle-on": { "prefix": "\uf4a8" }, "shuffle-on": { "prefix": "\uf4a8" },
"shuffle-off": { "prefix": "\uf453" }, "shuffle-off": { "prefix": "\uf453" },
"repeat-on": { "prefix": "\uf459" }, "repeat-on": { "prefix": "\uf459" },
"repeat-off": { "prefix": "\uf30f" } "repeat-off": { "prefix": "\uf30f" }
}, },
"github": { "github": {
"prefix": "\uf233" "prefix": "\uf233"
}, },
"spotify": { "spotify": {
"prefix": "\uf305" "prefix": "\uf305"
}, },
"publicip": { "publicip": {
"prefix": "\uf268" "prefix": "\uf268"
}, },
"weather": { "weather": {
"clouds": { "prefix": "\uf12b" }, "clouds": { "prefix": "\uf12b" },
@ -161,11 +167,14 @@
"thunder": { "prefix": "\uf4bd" } "thunder": { "prefix": "\uf4bd" }
}, },
"taskwarrior": { "taskwarrior": {
"prefix": "\uf454" "prefix": "\uf454"
}, },
"dunst": { "dunst": {
"muted": { "prefix": "\uf39a"}, "muted": { "prefix": "\uf39a" },
"unmuted": { "prefix": "\uf39b" } "unmuted": { "prefix": "\uf39b" }
} },
"twmn": {
"muted": { "prefix": "\uf1f6" },
"unmuted": { "prefix": "\uf0f3" }
}
} }