[Arch] fix network, delete bar_scripts
commit8e9b7c380b6d306ef8aaf3cc26315fc0f5e1b004
authorHassan Afify <hassanafify@protonmail.com>
Wed, 20 Nov 2019 13:55:33 +0000 (20 16:55 +0300)
committerHassan Afify <hassanafify@protonmail.com>
Wed, 20 Nov 2019 13:55:33 +0000 (20 16:55 +0300)
tree23f28d7999936c5893f314043bc7388fc518f632
parentdbf1a6034faaac86c6c64f87949b97b756684c33
[Arch] fix network, delete bar_scripts

* move all scripts in bar_scripts to .scripts

* network script
problem: gnu/openbsd ifconfig outputs are different

solution:
- add 2 global v (up_type, ssid_strength)
- add 2 functions (check_type, get_ssid_strength)

- discription:
- linux and openbsd name interfaces in different way
so up_type function handel that

- get the ssid and strength is found in ifconfig with openbsd
and not found in linux this issue is handeled with
get_ssid_strength function
.scripts/battery [moved from .scripts/bar_scripts/battery with 100% similarity]
.scripts/cpu.sh [moved from .scripts/bar_scripts/cpu.sh with 100% similarity]
.scripts/gpu [moved from .scripts/bar_scripts/gpu.sh with 100% similarity]
.scripts/headset.sh [moved from .scripts/bar_scripts/headset.sh with 100% similarity]
.scripts/mic_status [moved from .scripts/bar_scripts/mic_status.sh with 100% similarity]
.scripts/network
.scripts/network.sh [moved from .scripts/bar_scripts/network.sh with 100% similarity]
.scripts/notify_network.sh [deleted file]
.scripts/rfkill_status [moved from .scripts/bar_scripts/rfkill_status.sh with 100% similarity]
.scripts/updates [moved from .scripts/bar_scripts/updates with 100% similarity]