Update scripts to check if using wayland or x11
- game launch/exit script's picom disable/enable and xfce power manager presentation mode only apply when running dwm - GPU profile switching with nvidia-settings only works when running x11
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
/home/sravan/.scripts/picom.sh --on &
|
||||
if [ $XDG_SESSION_DESKTOP == "dwm" ]; then
|
||||
/home/sravan/.scripts/picom.sh --on &
|
||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false &
|
||||
fi
|
||||
|
||||
/home/sravan/.scripts/dunst.sh --unpause &
|
||||
/home/sravan/.scripts/cpu-gpu.sh --cpu-profile-balanced &
|
||||
/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 &
|
||||
|
Reference in New Issue
Block a user