Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions scripts/apply_theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

THEME=$1

if [ ! -d "$HOME/.i3" ]
then
mkdir $HOME/.i3
fi

echo '[*] Applying the theme..'

if [ -d "../$THEME" ]
Expand Down Expand Up @@ -66,15 +71,15 @@ then
echo ' [-] Failed to apply ./config/polybar/config configuration file'
fi

if cp ../scripts/launch.sh ~/.config/polybar/launch.sh
if cp ../scripts/polybar/launch.sh ~/.config/polybar/launch.sh
then
chmod u+x ~/.config/polybar/launch.sh
echo ' [+] .config/polybar/launch.sh script set up successfully'
else
echo ' [-] Failed to apply .config/polybar/launch.sh script'
fi

if cp ../scripts/music.sh ~/.config/polybar/music.sh
if cp ../scripts/polybar/music.sh ~/.config/polybar/music.sh
then
chmod u+x ~/.config/polybar/music.sh
echo ' [+] .config/polybar/music.sh script set up successfully'
Expand Down