Browse Source

Updated GameMode.sh and DarkLight.sh in line with new swww initialization

pull/232/head
JaKooLit 2 years ago
parent
commit
5cdd289b19
  1. 2
      config/hypr/scripts/DarkLight.sh
  2. 2
      config/hypr/scripts/GameMode.sh

2
config/hypr/scripts/DarkLight.sh

@ -17,7 +17,7 @@ light_rofi_pywal="$HOME/.cache/wal/colors-rofi-light.rasi"
pkill swaybg
# Initialize swww if needed
swww query || swww init
swww query || swww-daemon
# Set swww options
swww="swww img"

2
config/hypr/scripts/GameMode.sh

@ -20,7 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
notify-send -e -u low -i "$notif" "gamemode enabled. All animations off"
exit
else
swww init && swww img "$HOME/.config/rofi/.current_wallpaper"
swww-daemon && swww img "$HOME/.config/rofi/.current_wallpaper" &
sleep 0.1
${SCRIPTSDIR}/PywalSwww.sh
sleep 0.5

Loading…
Cancel
Save