#bash script, how do i make it so when x process is ended (i close it) it swaps xrandr settings

7 messages · Page 1 of 1 (latest)

tough python
#

i want this to execute when i close the process

xrandr --output DP-4 --primary --mode 3440x1440 --rate 120.00 --output HDMI-0 --mode 1920x1080 --rate 60.00 --right-of DP-4
so i can make my primary monitor normal again

nimble isle
tough python
#

io dont wanna run the script and it kills it

#

i wanna make so it when i kill he program ymself by pressing the x button, it runs thes cript

brave plank
#

You can also try pwait

graceful kestrel