From 6d29f9c08efc0f3682f5bdb15ca51c5438c9d56a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 8 Jun 2020 15:25:38 +0300 Subject: seasonal themes are now env vars --- .config/polybar/focus | 2 +- .zshrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"); # print("out: $stdout\nerr: $stderr\nexit_code: $exit_code\n"); if ($stderr =~ /No matches\./) { - system 'echo "The Semester of Attention"'; + system 'echo "${SEMESTER_THEME}"'; exit; } my $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/" # Path to your oh-my-zsh installation. export ZSH=/home/yigit/.oh-my-zsh +export SEMESTER_THEME="The Summer of Catchup" # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. -- cgit v1.2.3-70-g09d2