add functions
This commit is contained in:
parent
845867e20e
commit
cb432b45aa
4
functions/killer
Executable file
4
functions/killer
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
pidd="$(ps -u $USER -o pid,%mem,%cpu,comm | sort -b -k2 -r | sed -n '1!p' | dmenu -i -l 15 | awk '{print $1}')"
|
||||
kill -15 "$pidd"
|
||||
5
functions/wifi
Normal file
5
functions/wifi
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
bssid="$(nmcli -f BSSID,SSID,SIGNAL,RATE,BARS,SECURITY dev wifi list | sed -n '1!p' | dmenu -p "WiFi: " -l 20 | cut -d' ' -f1)"
|
||||
pass="$(echo "" | dmenu -p "Password: ")"
|
||||
nmcli device wifi connect "$bssid" "password" "$pass"
|
||||
Loading…
x
Reference in New Issue
Block a user