Fix Picom Issue with Game Scripts
- Previously, picom would not turn back on after exiting a game - Resolved this by running all game launch / exit script commands in the background so they persist even after the script itself exits
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/home/sravan/.scripts/picom.sh --on
|
/home/sravan/.scripts/picom.sh --on &
|
||||||
/home/sravan/.scripts/deadd.sh --unpause
|
/home/sravan/.scripts/deadd.sh --unpause &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-balanced
|
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-balanced &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive
|
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive &
|
||||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false
|
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false &
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/home/sravan/.scripts/picom.sh --off
|
/home/sravan/.scripts/picom.sh --off &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-performance
|
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-performance &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance
|
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance &
|
||||||
/home/sravan/.scripts/deadd.sh --pause
|
/home/sravan/.scripts/deadd.sh --pause &
|
||||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true
|
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true &
|
||||||
|
20
README.org
20
README.org
@@ -7831,11 +7831,11 @@ These are scripts that should be run from Lutris when launching or exiting a gam
|
|||||||
*Preferences > System options > Pre-launch script*
|
*Preferences > System options > Pre-launch script*
|
||||||
|
|
||||||
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_launch.sh
|
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_launch.sh
|
||||||
/home/sravan/.scripts/picom.sh --off
|
/home/sravan/.scripts/picom.sh --off &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-performance
|
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-performance &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance
|
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance &
|
||||||
/home/sravan/.scripts/deadd.sh --pause
|
/home/sravan/.scripts/deadd.sh --pause &
|
||||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true
|
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true &
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Post-Exit Script
|
*** Post-Exit Script
|
||||||
@@ -7843,11 +7843,11 @@ These are scripts that should be run from Lutris when launching or exiting a gam
|
|||||||
*Preferences > System options > Post-exit script*
|
*Preferences > System options > Post-exit script*
|
||||||
|
|
||||||
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh
|
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh
|
||||||
/home/sravan/.scripts/picom.sh --on
|
/home/sravan/.scripts/picom.sh --on &
|
||||||
/home/sravan/.scripts/deadd.sh --unpause
|
/home/sravan/.scripts/deadd.sh --unpause &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-balanced
|
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-balanced &
|
||||||
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive
|
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive &
|
||||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false
|
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false &
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** PlayStation 5 (DualSense) to Xbox 360 Controller Button Mapping
|
*** PlayStation 5 (DualSense) to Xbox 360 Controller Button Mapping
|
||||||
|
Reference in New Issue
Block a user