celediel / simple xbps wrapper
0 curtidas
0 bifurcações
1 arquivos
Última atividade
a tiny wrapper for xbps utils
1 | #!/bin/sh |
2 | # very simple xbps wrapper |
3 | |
4 | # don't doas or sudo unless it exists |
5 | if [ ! -z "$(type doas)" ]; then |
6 | ROOT_DOER="$(command -v doas)" |
7 | elif [ ! -z "$(type sudo)" ]; then |
8 | ROOT_DOER="$(command -v sudo)" |
9 | fi |
celediel / xbps-check-updates
0 curtidas
0 bifurcações
1 arquivos
Última atividade
xbps update checker for waybar
1 | #!/bin/env python |
2 | |
3 | ### Add to ~/.config/waybar/config like so |
4 | # "custom/xbps-updates": { |
5 | # "format": "{} ", |
6 | # "interval": 3600, |
7 | # "return-type": "json", |
8 | # "exec": "xbps-checkup-updates | jq --unbuffered --compact-output", |
9 | # "tooltip": true, |
10 | # } |
Próximo
Anterior