feat(scripts): Removed Scripts which I don't use.

This commit is contained in:
sankalp committed 2024-02-10 16:32:08 +05:45
1 parent 72b6efc817
commit a05fbd8b2d
8 files changed
+303 -361

No files matched your search

+23 -3
View File
@@ -5,7 +5,12 @@ CONFIG_FILE=~/.config/hypr/scripts/Ref.sh
source "$CONFIG_FILE"
# Toggle touchpad state. (SUPER SHIFT D)
######################################
# #
# Toggle touchpad state #
# #
######################################
toggle_touchpad() {
local status_file="$STATUS_FILE"
local action
@@ -22,8 +27,12 @@ toggle_touchpad() {
hyprctl keyword "device:$HYPRLAND_DEVICE:enabled" "$(cat "$status_file")"
}
######################################
# #
# Toggle wifi state #
# #
######################################
# Toggle Wifi
toggle_wifi() {
wifi_status=$(nmcli radio wifi)
if [ "$wifi_status" == "enabled" ]; then
@@ -35,7 +44,12 @@ toggle_wifi() {
fi
}
# Toggle Bluetooth
######################################
# #
# Toggle bluetooth state #
# #
######################################
toggle_bluetooth() {
if [ "$bluetooth_status" == "no" ]; then
bluetoothctl power on
@@ -46,6 +60,12 @@ toggle_bluetooth() {
fi
}
######################################
# #
# Enable/Disable Monitor #
# #
######################################
disable_edp1() {
enable_edp1
sleep 1