aboutsummaryrefslogtreecommitdiff
path: root/hook/rofi.sh
blob: ca739bdeb8681fa2d355ec40f1b44ab16bf2da8e (plain)
1
2
3
4
5
6
7
8
9
10
#!/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_config_file ] && [ -f "$rofi_theme_file" ]; then
  cp "$rofi_theme_file" "$rofi_config_file"
  echo 'Rofi theme updated'
fi