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