fix installscript
This commit is contained in:
parent
af70a89eb2
commit
1983951926
8
install.sh
Normal file → Executable file
8
install.sh
Normal file → Executable file
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Installing i3blocks..."
|
||||
[[ -f "~/.config/i3blocks" ]] && mv ~/.config/i3blocks{,.bak}
|
||||
[[ -d "$HOME/.config/i3blocks" ]] && mv "$HOME/.config/i3blocks"{,.bak}
|
||||
git clone https://will.kein.hk/git/koksnuss/simple-i3blocks.git ~/.config/i3blocks
|
||||
cd ~/.config/i3blocks/modules
|
||||
chmod u+x audio backlight battery cpu datetime ip mic ram storage
|
||||
echo "Finished, please reload i3. Normally you can do this with the shortcut MOD+SHIFT+R""
|
||||
cd "$HOME/.config/i3blocks/modules"
|
||||
chmod u+x audio backlight battery cpu datetime ip ram storage
|
||||
echo "Finished, please reload i3. Normally you can do this with the shortcut MOD+SHIFT+R"
|
||||
|
Reference in New Issue
Block a user