mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: update information
This commit is contained in:
parent
6eef1bfdfa
commit
50a5beb8b5
1 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# MIT license
|
# MIT license
|
||||||
# Ahwx <ahwx at ahwx dot org> https://ahwx.org - 2024
|
# liv < liv at liv dot town > https://liv.town - 2024
|
||||||
#
|
#
|
||||||
# Dependencies: find/grep/bemenu/ping/git/
|
# Dependencies: find/grep/bemenu/ping/git/
|
||||||
|
|
||||||
|
|
@ -14,9 +14,9 @@ echo "Check if connected to internet and pull changes from Git"
|
||||||
ping -c1 github.com >/dev/null && notify-send "$(git pull)" # Pull most recent changes, be sure to not create conficts...
|
ping -c1 github.com >/dev/null && notify-send "$(git pull)" # Pull most recent changes, be sure to not create conficts...
|
||||||
|
|
||||||
if [ "$CHOSEN" ]; then
|
if [ "$CHOSEN" ]; then
|
||||||
kitty -e nvim "$CHOSEN" # Finally open chosen note
|
kitty -e nvim "$CHOSEN" # Finally open chosen note
|
||||||
|
|
||||||
git add "$CHOSEN" && git commit -m "chore: updates (auto)" && git push && notify-send "Changes pushed"
|
git add "$CHOSEN" && git commit -m "chore: updates (auto)" && git push && notify-send "Changes pushed"
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue