summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-06-08 15:25:38 +0300
committerYigit Sever2020-06-08 15:25:38 +0300
commit6d29f9c08efc0f3682f5bdb15ca51c5438c9d56a (patch)
treea7b71f67404f27ad165462b79801452e8fce4a03
parent4cd41a0570af7c0d98ccdb5daa0654c980d372a7 (diff)
downloaddotfiles-6d29f9c08efc0f3682f5bdb15ca51c5438c9d56a.tar.gz
dotfiles-6d29f9c08efc0f3682f5bdb15ca51c5438c9d56a.tar.bz2
dotfiles-6d29f9c08efc0f3682f5bdb15ca51c5438c9d56a.zip
seasonal themes are now env vars
-rwxr-xr-x.config/polybar/focus2
-rw-r--r--.zshrc1
2 files changed, 2 insertions, 1 deletions
diff --git a/.config/polybar/focus b/.config/polybar/focus
index f375cc3..89347d1 100755
--- a/.config/polybar/focus
+++ b/.config/polybar/focus
@@ -24,7 +24,7 @@ my ($stdout, $stderr, $success, $exit_code) = capture_exec("task custom_focus");
24# print("out: $stdout\nerr: $stderr\nexit_code: $exit_code\n"); 24# print("out: $stdout\nerr: $stderr\nexit_code: $exit_code\n");
25 25
26if ($stderr =~ /No matches\./) { 26if ($stderr =~ /No matches\./) {
27 system 'echo "The Semester of Attention"'; 27 system 'echo "${SEMESTER_THEME}"';
28 exit; 28 exit;
29} 29}
30my $active_task_maybe = $stdout; 30my $active_task_maybe = $stdout;
diff --git a/.zshrc b/.zshrc
index be3f660..f350138 100644
--- a/.zshrc
+++ b/.zshrc
@@ -7,6 +7,7 @@ export PATH="$PATH:/home/yigit/.local/bin:$HOME/.cargo/bin/"
7 7
8# Path to your oh-my-zsh installation. 8# Path to your oh-my-zsh installation.
9export ZSH=/home/yigit/.oh-my-zsh 9export ZSH=/home/yigit/.oh-my-zsh
10export SEMESTER_THEME="The Summer of Catchup"
10 11
11# Set name of the theme to load. Optionally, if you set this to "random" 12# Set name of the theme to load. Optionally, if you set this to "random"
12# it'll load a random theme each time that oh-my-zsh is loaded. 13# it'll load a random theme each time that oh-my-zsh is loaded.