-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
93 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
#!/bin/fish | ||
|
||
nordvpn status | grep "Connected" >/dev/null; and set vpn connected; or set vpn disconnected | ||
|
||
set name (nmcli dev | grep "^wlp3s0" | awk '{print$4}') | ||
|
||
set date (date +"%a %H:%M %d.%m.%Y") | ||
|
||
set bat (acpi -b | cut -d' ' -f4 | tr -d ',') | ||
set bat (acpi -b | cut -d' ' -f3,4 | tr -d ',') | ||
# set bat (acpi -b | cut -d' ' -f3,4 | tr -d ',') | ||
|
||
notify-send "DATE: $date | ||
BAT: $bat" | ||
BAT: $bat | ||
WIFI: $name | ||
VPN: $vpn" | ||
|
||
|
||
|
||
|
||
# echo $name | ||
|
||
|
||
|
||
# nmcli dev | grep '^wlp3s0.*connected' > /dev/null && notify-send "wifi connected to $name" || notify-send "wifi disconnected" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
bitwarden-bin | ||
brave-bin | ||
brother-hll2300d | ||
dict-freedict-deu-eng | ||
dict-freedict-eng-deu | ||
doi2bib | ||
easystroke-git | ||
glow | ||
gotop-bin | ||
lf-bin | ||
mangohud | ||
nordvpn-bin | ||
yay | ||
oomox | ||
pfetch-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.