add documentation and screenshot for aur-update

This commit is contained in:
ishaan 2022-03-15 15:56:42 +05:30
parent 69edfc42ae
commit 1fc4139b7c
5 changed files with 595 additions and 180 deletions

View file

@ -1,6 +1,6 @@
"""Check updates for AUR.
Requires the following packages:
Requires the following executable:
* yay (https://github.com/Jguer/yay)
contributed by `ishaanbhimwal <https://github.com/ishaanbhimwal>`_ - many thanks!

View file

@ -401,6 +401,20 @@ Requires the following executable:
contributed by `lucassouto <https://github.com/lucassouto>`_ - many thanks!
.. image:: ../screenshots/arch-update.png
aur-update
~~~~~~~~~~~
Check updates for AUR.
Requires the following executable:
* yay (https://github.com/Jguer/yay)
contributed by `ishaanbhimwal <https://github.com/ishaanbhimwal>`_ - many thanks!
.. image:: ../screenshots/aur-update.png
battery
~~~~~~~

BIN
screenshots/arch-update.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
screenshots/aur-update.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -2,187 +2,489 @@
"defaults": {
"separator": "",
"padding": " ",
"unknown": { "prefix": "" },
"unknown": {
"prefix": ""
},
"separator-block-width": 0,
"default-separators": false
},
"date": { "prefix": "" },
"persian_date": { "prefix": "" },
"time": { "prefix": "" },
"datetime": { "prefix": "" },
"datetz": { "prefix": "" },
"timetz": { "prefix": "" },
"datetimetz": { "prefix": "" },
"memory": { "prefix": "" },
"cpu": { "prefix": "" },
"cpu2": {
"freq": { "prefix": "" },
"load": { "prefix": "" },
"loads": { "prefix": "" },
"temp": { "prefix": "" },
"fan": { "prefix": "" }
"date": {
"prefix": ""
},
"persian_date": {
"prefix": ""
},
"time": {
"prefix": ""
},
"datetime": {
"prefix": ""
},
"datetz": {
"prefix": ""
},
"timetz": {
"prefix": ""
},
"datetimetz": {
"prefix": ""
},
"memory": {
"prefix": ""
},
"cpu": {
"prefix": ""
},
"cpu2": {
"freq": {
"prefix": ""
},
"load": {
"prefix": ""
},
"loads": {
"prefix": ""
},
"temp": {
"prefix": ""
},
"fan": {
"prefix": ""
}
},
"disk": {
"prefix": ""
},
"smartstatus": {
"prefix": ""
},
"dnf": {
"prefix": ""
},
"apt": {
"prefix": ""
},
"pacman": {
"prefix": ""
},
"brightness": {
"prefix": ""
},
"load": {
"prefix": ""
},
"layout": {
"prefix": ""
},
"layout-xkb": {
"prefix": ""
},
"layout-xkbswitch": {
"prefix": ""
},
"disk": { "prefix": "" },
"smartstatus": { "prefix": "" },
"dnf": { "prefix": "" },
"apt": { "prefix": "" },
"pacman": { "prefix": "" },
"brightness": { "prefix": "" },
"load": { "prefix": "" },
"layout": { "prefix": "" },
"layout-xkb": { "prefix": "" },
"layout-xkbswitch": { "prefix": "" },
"notmuch_count": {
"empty": { "prefix": "\uf0e0" },
"items": { "prefix": "\uf0e0" }
"empty": {
"prefix": "\uf0e0"
},
"items": {
"prefix": "\uf0e0"
}
},
"portage_status": {
"idle": { "prefix": "" },
"active": { "prefix": "" }
"idle": {
"prefix": ""
},
"active": {
"prefix": ""
}
},
"todo": {
"empty": { "prefix": "" },
"items": { "prefix": "" },
"uptime": { "prefix": "" }
"empty": {
"prefix": ""
},
"items": {
"prefix": ""
},
"uptime": {
"prefix": ""
}
},
"zpool": {
"poolread": { "prefix": "→ " },
"poolwrite": { "prefix": "← " },
"ONLINE": { "prefix": "" },
"FAULTED": { "prefix": "!" },
"DEGRADED": { "prefix": "!" }
"poolread": {
"prefix": "→ "
},
"poolwrite": {
"prefix": "← "
},
"ONLINE": {
"prefix": ""
},
"FAULTED": {
"prefix": "!"
},
"DEGRADED": {
"prefix": "!"
}
},
"cmus": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" },
"shuffle-on": { "prefix": "" },
"shuffle-off": { "prefix": "" },
"repeat-on": { "prefix": "" },
"repeat-off": { "prefix": "" }
"playing": {
"prefix": ""
},
"paused": {
"prefix": ""
},
"stopped": {
"prefix": ""
},
"prev": {
"prefix": ""
},
"next": {
"prefix": ""
},
"shuffle-on": {
"prefix": ""
},
"shuffle-off": {
"prefix": ""
},
"repeat-on": {
"prefix": ""
},
"repeat-off": {
"prefix": ""
}
},
"gpmdp": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" }
"playing": {
"prefix": ""
},
"paused": {
"prefix": ""
},
"stopped": {
"prefix": ""
},
"prev": {
"prefix": ""
},
"next": {
"prefix": ""
}
},
"playerctl": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" }
"playing": {
"prefix": ""
},
"paused": {
"prefix": ""
},
"stopped": {
"prefix": ""
},
"prev": {
"prefix": ""
},
"next": {
"prefix": ""
}
},
"pasink": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
"muted": {
"prefix": ""
},
"unmuted": {
"prefix": ""
}
},
"amixer": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
"muted": {
"prefix": ""
},
"unmuted": {
"prefix": ""
}
},
"pasource": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
"muted": {
"prefix": ""
},
"unmuted": {
"prefix": ""
}
},
"kernel": {
"prefix": "\uf17c"
},
"nic": {
"wireless-up": { "prefix": "" },
"wireless-down": { "prefix": "" },
"wired-up": { "prefix": "" },
"wired-down": { "prefix": "" },
"tunnel-up": { "prefix": "" },
"tunnel-down": { "prefix": "" }
"wireless-up": {
"prefix": ""
},
"wireless-down": {
"prefix": ""
},
"wired-up": {
"prefix": ""
},
"wired-down": {
"prefix": ""
},
"tunnel-up": {
"prefix": ""
},
"tunnel-down": {
"prefix": ""
}
},
"bluetooth": {
"ON": { "prefix": "" },
"OFF": { "prefix": "" },
"?": { "prefix": "" }
"ON": {
"prefix": ""
},
"OFF": {
"prefix": ""
},
"?": {
"prefix": ""
}
},
"bluetooth2": {
"ON": { "prefix": "" },
"warning": { "prefix": "" },
"critical": { "prefix": "" }
"ON": {
"prefix": ""
},
"warning": {
"prefix": ""
},
"critical": {
"prefix": ""
}
},
"battery-upower": {
"charged": { "prefix": "", "suffix": "" },
"AC": { "suffix": "" },
"charging": {
"prefix": ["", "", "", "", ""],
"charged": {
"prefix": "",
"suffix": ""
},
"discharging-10": { "prefix": "", "suffix": "" },
"discharging-25": { "prefix": "", "suffix": "" },
"discharging-50": { "prefix": "", "suffix": "" },
"discharging-80": { "prefix": "", "suffix": "" },
"discharging-100": { "prefix": "", "suffix": "" },
"unlimited": { "prefix": "", "suffix": "" },
"estimate": { "prefix": "" },
"unknown-10": { "prefix": "", "suffix": "" },
"unknown-25": { "prefix": "", "suffix": "" },
"unknown-50": { "prefix": "", "suffix": "" },
"unknown-80": { "prefix": "", "suffix": "" },
"unknown-100": { "prefix": "", "suffix": "" }
"AC": {
"suffix": ""
},
"charging": {
"prefix": [
"",
"",
"",
"",
""
],
"suffix": ""
},
"discharging-10": {
"prefix": "",
"suffix": ""
},
"discharging-25": {
"prefix": "",
"suffix": ""
},
"discharging-50": {
"prefix": "",
"suffix": ""
},
"discharging-80": {
"prefix": "",
"suffix": ""
},
"discharging-100": {
"prefix": "",
"suffix": ""
},
"unlimited": {
"prefix": "",
"suffix": ""
},
"estimate": {
"prefix": ""
},
"unknown-10": {
"prefix": "",
"suffix": ""
},
"unknown-25": {
"prefix": "",
"suffix": ""
},
"unknown-50": {
"prefix": "",
"suffix": ""
},
"unknown-80": {
"prefix": "",
"suffix": ""
},
"unknown-100": {
"prefix": "",
"suffix": ""
}
},
"battery": {
"charged": { "prefix": "", "suffix": "" },
"AC": { "suffix": "" },
"charging": {
"prefix": ["", "", "", "", ""],
"charged": {
"prefix": "",
"suffix": ""
},
"discharging-10": { "prefix": "", "suffix": "" },
"discharging-25": { "prefix": "", "suffix": "" },
"discharging-50": { "prefix": "", "suffix": "" },
"discharging-80": { "prefix": "", "suffix": "" },
"discharging-100": { "prefix": "", "suffix": "" },
"unlimited": { "prefix": "", "suffix": "" },
"estimate": { "prefix": "" },
"unknown-10": { "prefix": "", "suffix": "" },
"unknown-25": { "prefix": "", "suffix": "" },
"unknown-50": { "prefix": "", "suffix": "" },
"unknown-80": { "prefix": "", "suffix": "" },
"unknown-100": { "prefix": "", "suffix": "" }
"AC": {
"suffix": ""
},
"charging": {
"prefix": [
"",
"",
"",
"",
""
],
"suffix": ""
},
"discharging-10": {
"prefix": "",
"suffix": ""
},
"discharging-25": {
"prefix": "",
"suffix": ""
},
"discharging-50": {
"prefix": "",
"suffix": ""
},
"discharging-80": {
"prefix": "",
"suffix": ""
},
"discharging-100": {
"prefix": "",
"suffix": ""
},
"unlimited": {
"prefix": "",
"suffix": ""
},
"estimate": {
"prefix": ""
},
"unknown-10": {
"prefix": "",
"suffix": ""
},
"unknown-25": {
"prefix": "",
"suffix": ""
},
"unknown-50": {
"prefix": "",
"suffix": ""
},
"unknown-80": {
"prefix": "",
"suffix": ""
},
"unknown-100": {
"prefix": "",
"suffix": ""
}
},
"battery_all": {
"charged": { "prefix": "", "suffix": "" },
"AC": { "suffix": "" },
"charging": {
"prefix": ["", "", "", "", ""],
"charged": {
"prefix": "",
"suffix": ""
},
"discharging-10": { "prefix": "", "suffix": "" },
"discharging-25": { "prefix": "", "suffix": "" },
"discharging-50": { "prefix": "", "suffix": "" },
"discharging-80": { "prefix": "", "suffix": "" },
"discharging-100": { "prefix": "", "suffix": "" },
"unlimited": { "prefix": "", "suffix": "" },
"estimate": { "prefix": "" },
"unknown-10": { "prefix": "", "suffix": "" },
"unknown-25": { "prefix": "", "suffix": "" },
"unknown-50": { "prefix": "", "suffix": "" },
"unknown-80": { "prefix": "", "suffix": "" },
"unknown-100": { "prefix": "", "suffix": "" }
"AC": {
"suffix": ""
},
"charging": {
"prefix": [
"",
"",
"",
"",
""
],
"suffix": ""
},
"discharging-10": {
"prefix": "",
"suffix": ""
},
"discharging-25": {
"prefix": "",
"suffix": ""
},
"discharging-50": {
"prefix": "",
"suffix": ""
},
"discharging-80": {
"prefix": "",
"suffix": ""
},
"discharging-100": {
"prefix": "",
"suffix": ""
},
"unlimited": {
"prefix": "",
"suffix": ""
},
"estimate": {
"prefix": ""
},
"unknown-10": {
"prefix": "",
"suffix": ""
},
"unknown-25": {
"prefix": "",
"suffix": ""
},
"unknown-50": {
"prefix": "",
"suffix": ""
},
"unknown-80": {
"prefix": "",
"suffix": ""
},
"unknown-100": {
"prefix": "",
"suffix": ""
}
},
"caffeine": {
"activated": { "prefix": " " },
"deactivated": { "prefix": " " }
"activated": {
"prefix": " "
},
"deactivated": {
"prefix": " "
}
},
"xrandr": {
"on": { "prefix": " " },
"off": { "prefix": " " },
"refresh": { "prefix": "" }
"on": {
"prefix": " "
},
"off": {
"prefix": " "
},
"refresh": {
"prefix": ""
}
},
"redshift": {
"day": { "prefix": "" },
"night": { "prefix": "" },
"transition": { "prefix": "" }
"day": {
"prefix": ""
},
"night": {
"prefix": ""
},
"transition": {
"prefix": ""
}
},
"docker_ps": {
"prefix": ""
@ -191,32 +493,67 @@
"prefix": ""
},
"sensors2": {
"temp": { "prefix": "" },
"fan": { "prefix": "" },
"cpu": { "prefix": "" }
"temp": {
"prefix": ""
},
"fan": {
"prefix": ""
},
"cpu": {
"prefix": ""
}
},
"traffic": {
"rx": { "prefix": "" },
"tx": { "prefix": "" }
"rx": {
"prefix": ""
},
"tx": {
"prefix": ""
}
},
"network_traffic": {
"rx": { "prefix": "" },
"tx": { "prefix": "" }
"rx": {
"prefix": ""
},
"tx": {
"prefix": ""
}
},
"mpd": {
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"stopped": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" },
"shuffle-on": { "prefix": "" },
"shuffle-off": { "prefix": "" },
"repeat-on": { "prefix": "" },
"repeat-off": { "prefix": "" }
"playing": {
"prefix": ""
},
"paused": {
"prefix": ""
},
"stopped": {
"prefix": ""
},
"prev": {
"prefix": ""
},
"next": {
"prefix": ""
},
"shuffle-on": {
"prefix": ""
},
"shuffle-off": {
"prefix": ""
},
"repeat-on": {
"prefix": ""
},
"repeat-off": {
"prefix": ""
}
},
"arch-update": {
"prefix": " "
},
"aur-update": {
"prefix": " "
},
"github": {
"prefix": "  "
},
@ -224,21 +561,41 @@
"prefix": "  "
},
"spotify": {
"song": { "prefix": "" },
"playing": { "prefix": "" },
"paused": { "prefix": "" },
"prev": { "prefix": "" },
"next": { "prefix": "" }
"song": {
"prefix": ""
},
"playing": {
"prefix": ""
},
"paused": {
"prefix": ""
},
"prev": {
"prefix": ""
},
"next": {
"prefix": ""
}
},
"publicip": {
"prefix": "  "
},
"weather": {
"clouds": { "prefix": "" },
"rain": { "prefix": "" },
"snow": { "prefix": "" },
"clear": { "prefix": "" },
"thunder": { "prefix": "" }
"clouds": {
"prefix": ""
},
"rain": {
"prefix": ""
},
"snow": {
"prefix": ""
},
"clear": {
"prefix": ""
},
"thunder": {
"prefix": ""
}
},
"taskwarrior": {
"prefix": "  "
@ -249,30 +606,56 @@
}
},
"git": {
"main": { "prefix": "" },
"new": { "prefix": "" },
"modified": { "prefix": "" },
"deleted": { "prefix": "" }
"main": {
"prefix": ""
},
"new": {
"prefix": ""
},
"modified": {
"prefix": ""
},
"deleted": {
"prefix": ""
}
},
"dunst": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
"muted": {
"prefix": ""
},
"unmuted": {
"prefix": ""
}
},
"dunstctl": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" },
"unknown": { "prefix": "" }
"muted": {
"prefix": ""
},
"unmuted": {
"prefix": ""
},
"unknown": {
"prefix": ""
}
},
"rofication": {
"prefix": ""
},
"twmn": {
"muted": { "prefix": "" },
"unmuted": { "prefix": "" }
"muted": {
"prefix": ""
},
"unmuted": {
"prefix": ""
}
},
"pihole": {
"enabled": { "prefix": "" },
"disabled": { "prefix": "" }
"enabled": {
"prefix": ""
},
"disabled": {
"prefix": ""
}
},
"vpn": {
"prefix": ""
@ -287,12 +670,22 @@
"prefix": ""
},
"pomodoro": {
"off": { "prefix": "" },
"paused": { "prefix": "" },
"work": { "prefix": "" },
"break": { "prefix": "" }
"off": {
"prefix": ""
},
"paused": {
"prefix": ""
},
"work": {
"prefix": ""
},
"break": {
"prefix": ""
}
},
"hddtemp": {
"prefix": ""
},
"hddtemp": { "prefix": "" },
"octoprint": {
"prefix": " "
},
@ -300,8 +693,16 @@
"prefix": ""
},
"speedtest": {
"running": { "prefix": ["\uf251", "\uf252", "\uf253"] },
"not-running": { "prefix": "\uf144" }
"running": {
"prefix": [
"\uf251",
"\uf252",
"\uf253"
]
},
"not-running": {
"prefix": "\uf144"
}
},
"thunderbird": {
"prefix": ""