From 29b1c791f6e319cdab828cee5f491ca1c38e41d1 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 5 Dec 2024 13:38:14 -0500 Subject: Some New Configuration Tools --- .local/bin/theme | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 .local/bin/theme (limited to '.local/bin/theme') diff --git a/.local/bin/theme b/.local/bin/theme deleted file mode 100755 index c6f0c2c..0000000 --- a/.local/bin/theme +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/zsh -# Switch to Solarized Dark if we are currently in dark mode -if [[ "$(uname -s)" == "Darwin" ]]; then - val=$(defaults read -g AppleInterfaceStyle 2>/dev/null) - if [[ $val == "Dark" ]]; then - osascript -e 'tell application "Terminal" - set current settings of tabs of windows to settings set "PaperColor-dark" # Theme name - end tell' - else - osascript -e 'tell application "Terminal" - set current settings of tabs of windows to settings set "PaperColor-light" # Theme name - end tell' - fi -fi -- cgit v1.2.3