Skip to content

Commit

Permalink
Update kernel.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gzowski authored Jan 22, 2021
1 parent 1154f18 commit 756bfd2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions kernel.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/usr/bin/env bash
#For arch users using Polybar,
#Requirements: FontAwesome 5 Free, Polybar
#Checks kernel version against latest version available on archlinux.org packages page
#If outdated, updates icon alongside kernel version on polybar.

#Add to polybar config
#[module/kernel]
#type = custom/script
#exec = "Script location"/kernel.sh
#interval = 600
#format = "<label>"
#label = %output%

url='https://archlinux.org/packages/core/x86_64/linux/'
html=$( curl -# -L "${url}" 2> '/dev/null' )
latest=$(
Expand Down

0 comments on commit 756bfd2

Please sign in to comment.