From 40e6023c83844b1872fd94ab68e30c2d0702f52e Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 9 Jan 2023 20:36:22 +0500 Subject: [PATCH] correct path for scripts ln --- restorefiles.sh | 2 +- scripts/office2kdisplay.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 scripts/office2kdisplay.sh diff --git a/restorefiles.sh b/restorefiles.sh index fa563f0..0e49b6c 100755 --- a/restorefiles.sh +++ b/restorefiles.sh @@ -46,7 +46,7 @@ read -p "Would you like to restore scripts [Y/n]: " SCRIPTS if [ "$SCRIPTS" = "Y" ] || [ "$SCRIPTS" = "y" ] || [ "$SCRIPTS" = "" ] then mkdir $HOME/.scripts $HOME/.shortcuts -p -ln -s ./scripts/* $HOME/.scripts/ +ln -s $PWD/scripts/* $HOME/.scripts/ fi ################################################################### diff --git a/scripts/office2kdisplay.sh b/scripts/office2kdisplay.sh new file mode 100755 index 0000000..fd8a850 --- /dev/null +++ b/scripts/office2kdisplay.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x360 --rotate normal --output HDMI-1 --off --output DP-1 --mode 2560x1440 --pos 1920x0 --rotate normal --output HDMI-2 --off