latest DE playing around
This commit is contained in:
1 parent
5ff8b7000f
commit
356ae12b3e
209 files changed
+18489
-220
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/nix/store/dy2z01kpnxn7dn2kgfdxs4fm8xy9mb89-bash-5.2p26/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
|
||||
Reference in new issue
Block a user