summaryrefslogtreecommitdiff
path: root/.local/bin/theme
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-12-05 13:38:14 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-12-05 13:38:14 -0500
commit29b1c791f6e319cdab828cee5f491ca1c38e41d1 (patch)
treebe9d9d43d150f0b72f72e4e37cc43bde0e10b72e /.local/bin/theme
parent5849e2ad7323f086bd6edf221b29e3f0b2b7cbd3 (diff)
Some New Configuration Tools
Diffstat (limited to '.local/bin/theme')
-rwxr-xr-x.local/bin/theme14
1 files changed, 0 insertions, 14 deletions
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