Skip to content

Commit 0b26d65

Browse files
committed
running immersed app using dinamic path, separated folder for x11 config files
1 parent 3f29c05 commit 0b26d65

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#immersed kill
12
screen -X -S immersed quit
2-
3+
#xrandr
34
xrandr --output eDP1 --mode "1920x1080" --primary --brightness 0.7
45
xrandr --output DP1 --off
56
xrandr --output HDMI1 --off

2.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#immersed kill
12
screen -X -S immersed quit
2-
3+
#xrandr
34
xrandr --output eDP1 --off
45
xrandr --output DP1 --mode "1920x1080" --left-of HDMI2
56
xrandr --output HDMI1 --off

3.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ xrandr --output VIRTUAL2 --mode 1920x1080_60.00 --right-of VIRTUAL1
1010
xrandr --output VIRTUAL3 --mode 1920x1080_60.00 --right-of VIRTUAL2
1111
xrandr --output VIRTUAL2 --primary
1212
xrandr --output eDP1 --mode 1920x1080 --brightness 0.0 --above VIRTUAL2
13-
# xrandr --output eDP1 --brightness 0.0
14-
# xrandr --output eDP1 --off
1513
xrandr --output DP1 --off
1614
xrandr --output HDMI1 --off
1715
xrandr --output HDMI2 --off
1816
#immersed start
19-
screen -S immersed -dm /home/pawel/Projects/GitHub/VirtualMonitors/Immersed-x86_64.AppImage
17+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
18+
screen -S immersed -dm $DIR/Immersed-x86_64.AppImage

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ -e /etc/X11/xorg.conf.d/20-intel.conf ]
1111
then
1212
echo "20-intel.conf exist"
1313
else
14-
sudo cp 20-intel.conf /etc/X11/xorg.conf.d/20-intel.conf
14+
sudo cp ./xorg.conf.d/20-intel.conf /etc/X11/xorg.conf.d/20-intel.conf
1515
echo "You must reboot or reload current X!! session to finish setup."
1616
fi
1717

File renamed without changes.

0 commit comments

Comments
 (0)