From 07c394394e80264a2e0614ab6c460407d43a181f Mon Sep 17 00:00:00 2001 From: committer Date: Thu, 23 May 2024 06:28:29 -0500 Subject: [PATCH] u --- dots/bash/.bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/bash/.bashrc b/dots/bash/.bashrc index c755ee0..2e27f81 100644 --- a/dots/bash/.bashrc +++ b/dots/bash/.bashrc @@ -45,8 +45,8 @@ alias myip="echo $(wget http://ipinfo.io/ip -qO -)" screensaver() { cmd="status" - if [[ -n $2 ]]; then - cmd=$2 + if [[ -n $1 ]]; then + cmd=$1 fi if [ ${cmd} == "on" ] ; then @@ -70,7 +70,7 @@ screensaver() { # display setup ds11() { - if [ $2 == "info" ] ; then + if [ $1 == "info" ] ; then echo "1 laptop + 1 monitor" else xrandr --output eDP-1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-2 --off --output HDMI-2 --off --output DP-3 --off --output HDMI-3 --off