From 4119804683e0fc0f903bafab3e3da6104fcecfc0 Mon Sep 17 00:00:00 2001 From: JEEVITHA KANNAN K S Date: Fri, 16 Aug 2024 11:48:21 +0530 Subject: [PATCH] Fix source -> . --- src/commands/utils/monitor-control/auto_detect_displays.sh | 2 +- src/commands/utils/monitor-control/change_orientation.sh | 2 +- src/commands/utils/monitor-control/disable_monitor.sh | 2 +- src/commands/utils/monitor-control/duplicate_displays.sh | 2 +- src/commands/utils/monitor-control/enable_monitor.sh | 2 +- src/commands/utils/monitor-control/extend_displays.sh | 2 +- src/commands/utils/monitor-control/manage_arrangement.sh | 2 +- src/commands/utils/monitor-control/reset_scaling.sh | 2 +- src/commands/utils/monitor-control/scale_monitor.sh | 2 +- src/commands/utils/monitor-control/set_primary_monitor.sh | 2 +- src/commands/utils/monitor-control/set_resolutions.sh | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/commands/utils/monitor-control/auto_detect_displays.sh b/src/commands/utils/monitor-control/auto_detect_displays.sh index e37a2502..46a8f25b 100644 --- a/src/commands/utils/monitor-control/auto_detect_displays.sh +++ b/src/commands/utils/monitor-control/auto_detect_displays.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to auto-detect displays and set common resolution auto_detect_displays() { diff --git a/src/commands/utils/monitor-control/change_orientation.sh b/src/commands/utils/monitor-control/change_orientation.sh index ee592c9e..e1083f59 100644 --- a/src/commands/utils/monitor-control/change_orientation.sh +++ b/src/commands/utils/monitor-control/change_orientation.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to change monitor orientation change_orientation() { diff --git a/src/commands/utils/monitor-control/disable_monitor.sh b/src/commands/utils/monitor-control/disable_monitor.sh index 3102b17f..555e77ab 100644 --- a/src/commands/utils/monitor-control/disable_monitor.sh +++ b/src/commands/utils/monitor-control/disable_monitor.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh RESET='\033[0m' BOLD='\033[1m' diff --git a/src/commands/utils/monitor-control/duplicate_displays.sh b/src/commands/utils/monitor-control/duplicate_displays.sh index 7dfefe07..ed4a5dcf 100644 --- a/src/commands/utils/monitor-control/duplicate_displays.sh +++ b/src/commands/utils/monitor-control/duplicate_displays.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to duplicate displays duplicate_displays() { diff --git a/src/commands/utils/monitor-control/enable_monitor.sh b/src/commands/utils/monitor-control/enable_monitor.sh index 210b7ccb..bc4af215 100644 --- a/src/commands/utils/monitor-control/enable_monitor.sh +++ b/src/commands/utils/monitor-control/enable_monitor.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh RESET='\033[0m' BOLD='\033[1m' diff --git a/src/commands/utils/monitor-control/extend_displays.sh b/src/commands/utils/monitor-control/extend_displays.sh index f1b2b281..dd6ddd13 100644 --- a/src/commands/utils/monitor-control/extend_displays.sh +++ b/src/commands/utils/monitor-control/extend_displays.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to extend displays extend_displays() { diff --git a/src/commands/utils/monitor-control/manage_arrangement.sh b/src/commands/utils/monitor-control/manage_arrangement.sh index f0929fa0..ea03f4ee 100644 --- a/src/commands/utils/monitor-control/manage_arrangement.sh +++ b/src/commands/utils/monitor-control/manage_arrangement.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to manage monitor arrangement manage_arrangement() { diff --git a/src/commands/utils/monitor-control/reset_scaling.sh b/src/commands/utils/monitor-control/reset_scaling.sh index 988e0e81..5b6caaca 100644 --- a/src/commands/utils/monitor-control/reset_scaling.sh +++ b/src/commands/utils/monitor-control/reset_scaling.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to reset scaling back to 1 (native resolution) for all monitors reset_scaling() { diff --git a/src/commands/utils/monitor-control/scale_monitor.sh b/src/commands/utils/monitor-control/scale_monitor.sh index 413daa89..624c850f 100644 --- a/src/commands/utils/monitor-control/scale_monitor.sh +++ b/src/commands/utils/monitor-control/scale_monitor.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to scale smaller monitors to the highest resolution of a bigger monitor scale_monitors() { diff --git a/src/commands/utils/monitor-control/set_primary_monitor.sh b/src/commands/utils/monitor-control/set_primary_monitor.sh index f50e8333..c9e46dcd 100644 --- a/src/commands/utils/monitor-control/set_primary_monitor.sh +++ b/src/commands/utils/monitor-control/set_primary_monitor.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh # Function to set a monitor as primary set_primary_monitor() { diff --git a/src/commands/utils/monitor-control/set_resolutions.sh b/src/commands/utils/monitor-control/set_resolutions.sh index 9cf4de0f..c0641a28 100644 --- a/src/commands/utils/monitor-control/set_resolutions.sh +++ b/src/commands/utils/monitor-control/set_resolutions.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -source ./utils/monitor-control/utility_functions.sh +. ./utils/monitor-control/utility_functions.sh RESET='\033[0m' BOLD='\033[1m'