diff options
| author | sils <sils@sils.li> | 2024-01-13 15:44:43 +0100 |
|---|---|---|
| committer | sils <sils@sils.li> | 2024-01-13 15:44:43 +0100 |
| commit | 4222225eed05b027c40aade002fa4d1ae16b3701 (patch) | |
| tree | 333c0ba58102ab69bfc0928e9177cd58ae4a3cdf /files/nwg-panel/executors/github.sh | |
| parent | (sys/services/restic): add storagebox-admin config (diff) | |
| download | nix-config-4222225eed05b027c40aade002fa4d1ae16b3701.zip | |
cleanup obsolete config
Diffstat (limited to 'files/nwg-panel/executors/github.sh')
| -rwxr-xr-x | files/nwg-panel/executors/github.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/files/nwg-panel/executors/github.sh b/files/nwg-panel/executors/github.sh deleted file mode 100755 index a0f4bd3..0000000 --- a/files/nwg-panel/executors/github.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/nix/store/vqvj60h076bhqj6977caz0pfxs6543nb-bash-5.2-p15/bin/bash - -# Based on the 'Github notifications' example from Waybar's Wiki -# Depends on jq Command-line JSON processor -# Obtain a notifications token at https://github.com/settings/tokens -# save it to a file as below. - -token=`cat ${HOME}/.config/github/notifications.token` -count=`curl -u nwg-piotr:${token} https://api.github.com/notifications -s | jq '. | length'` - -if [[ "$count" != "0" ]]; then - echo /home/piotr/.config/nwg-panel/icons_light/github.svg - echo $count -fi |
