From edf6be55facff6d428a7e830bf7e3969141f0199 Mon Sep 17 00:00:00 2001 From: cizordj <32869222+cizordj@users.noreply.github.com> Date: Fri, 15 Jan 2021 17:34:09 -0300 Subject: [PATCH] Add one more function This function copies the utilities to the user bin repository making it thus usable by polybar --- i3-themer | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/i3-themer b/i3-themer index ad81e2fb..8951fb90 100755 --- a/i3-themer +++ b/i3-themer @@ -89,6 +89,10 @@ function copyWallpapers(){ function copyPolybarLauncher(){ cp assets/scripts/i3wmthemer_bar_launch.sh "$XDG_CONFIG_HOME/polybar/" } +function copyUtilities(){ + mkdir -p "$HOME/.local/bin" + cp "$PWD/i3-scrot" "$PWD/i3-exit" "$HOME/.local/bin" +} function restartApps(){ pkill dunst xrdb "${CONFIG_PATH['xresources']}" @@ -133,6 +137,8 @@ fi touchConfigFiles copyWallpapers copyPolybarLauncher +copyUtilities + for file in defaults/* ; do source "$file" done