From 821a3d8730a3a1091e2af8f6c2395fe31c87c18d Mon Sep 17 00:00:00 2001 From: Andrea Schiavini Date: Wed, 22 Nov 2017 20:14:03 +0100 Subject: Base16 shell integration (#3) Base16 shell integration --- hook/rofi.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 hook/rofi.sh (limited to 'hook') diff --git a/hook/rofi.sh b/hook/rofi.sh new file mode 100755 index 0000000..816aac7 --- /dev/null +++ b/hook/rofi.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +rofi_config_file=$HOME/.config/rofi/config +rofi_themes_dir=$HOME/sources/base16-rofi/themes + +rofi_theme_file=$rofi_themes_dir/base16-$BASE16_THEME.config +if [ -f "$rofi_theme_file" ] && [ -f $rofi_config_file ]; then + cp "$rofi_theme_file" "$rofi_config_file" + echo 'Rofi theme updated' +fi -- cgit v1.2.3