scripts

shell scripts
git clone git://git.bitsmanent.org/scripts
Log | Files | Refs | README

commit a151ef7068840274e006da817dfbf3be8daf5cef
parent 6d19bc3f465cdb8dd1a0f4c8c7ddb75d5d6f4762
Author: clamiax <smoppy@gmail.com>
Date:   Wed, 29 Oct 2014 20:55:53 +0100

Better sorting paragraphs

Diffstat:
MREADME.md | 49+++++++++++++++++++++++++------------------------
1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/README.md b/README.md @@ -2,13 +2,24 @@ scripts ======= Useful shell scripts. -acpi ----- -Suspend the system if battery is critical. +iwpick +------ +Connects to a network. Authentication is not mandatory and only WPA2 is supported at the moment. It will works with no pain on any Linux system equipped with iwconfig, dhclient and wpa_supplicant. Just run: -dwmstatus ---------- -Draw useful informations to the dwm bar. + $ sudo iwpick -e MyWirelessNetwork -k MyWPA2key + +You may also use an aliases file (default ~/.networks), like this: + + home:MyHomeNetwork:MyHomePassord + lucky:PublicNetwork + +Then use the alias to connect: + + $ sudo iwpick -a home + +*TIP: $ chmod og-rwx ~/.networks* + +I'm considering if implement or not a flag to connects to the best possible network. The priority should be, descending order: private known networks, public known networks, public unknown networks. Networks with higher security and/or signal have higher priority. For now it's just an idea. scrapthumb ---------- @@ -35,6 +46,14 @@ Some sample usages in ~/.xinitrc: sleep 5m done & +acpi +---- +Suspend the system if battery is critical. + +dwmstatus +--------- +Draw useful informations to the dwm bar. + spawncgi -------- Spawn the CGI daemon. @@ -47,21 +66,3 @@ pronunciask ----------- Get pronunciations from forvo.com. Written for fun. -iwpick ------- -Connects to a network. Authentication is not mandatory and only WPA2 is supported at the moment. It will works with no pain on any Linux system equipped with iwconfig, dhclient and wpa_supplicant. Just run: - - $ sudo iwpick -e MyWirelessNetwork -k MyWPA2key - -You may also use an aliases file (default ~/.networks), like this: - - home:MyHomeNetwork:MyHomePassord - lucky:PublicNetwork - -Then use the alias to connect: - - $ sudo iwpick -a home - -*TIP: $ chmod og-rwx ~/.networks* - -I'm considering if implement or not a flag to connects to the best possible network. The priority should be, descending order: private known networks, public known networks, public unknown networks. Networks with higher security and/or signal have higher priority. For now it's just an idea.