#!/bin/env fish

switch $argv[1] 
	case 'light'
		# configure terminal stuff with light theme
		dotfiles light

		# change gtk theme
		gsettings set org.gnome.desktop.interface color-scheme prefer-light

	case 'dark'
		# configure terminal stuff with dark theme
		dotfiles

		# change gtk theme
		gsettings set org.gnome.desktop.interface color-scheme prefer-dark

	case '*'
		echo "usage: set-color-scheme <dark|light>"
		exit 1
end
