summary refs log tree commit diff
path: root/.config/gammastep/hooks
diff options
context:
space:
mode:
Diffstat (limited to '.config/gammastep/hooks')
-rwxr-xr-x.config/gammastep/hooks/switch.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/.config/gammastep/hooks/switch.sh b/.config/gammastep/hooks/switch.sh
deleted file mode 100755
index fae86ec..0000000
--- a/.config/gammastep/hooks/switch.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-set -x
-
-case "$1" in
-	period-changed)
-
-		case "$3" in
-			night|transition)
-				notify-send gammastep "changing to night"
-				gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark
-				pkill -fe -USR2 waybar-gammastep
-				;;
-
-			daytime)
-				notify-send gammastep "changing to day"
-				gsettings set org.gnome.desktop.interface gtk-theme Adwaita
-				pkill -fe -USR1 waybar-gammastep
-				;;
-
-			none)
-				notify-send gammastep "turning off"
-				pkill -fe -USR1 waybar-gammastep
-				;;
-		esac
-		;;
-esac