feat(scripts): Huge updates
This commit is contained in:
1 parent
02ac88ed8a
commit
5d07d2d2a5
12 files changed
+94
-347
No files matched your search
@@ -6,7 +6,7 @@ source "$CONFIG_FILE"
|
||||
|
||||
|
||||
# Toggle touchpad state. (SUPER SHIFT D)
|
||||
touchpad() {
|
||||
toggle_touchpad() {
|
||||
local status_file="$STATUS_FILE"
|
||||
local action
|
||||
|
||||
@@ -24,7 +24,7 @@ touchpad() {
|
||||
|
||||
|
||||
# Toggle Wifi
|
||||
wifi() {
|
||||
toggle_wifi() {
|
||||
wifi_status=$(nmcli radio wifi)
|
||||
if [ "$wifi_status" == "enabled" ]; then
|
||||
nmcli radio wifi off
|
||||
|
||||
Reference in new issue
Block a user