Adding Weather Config (and bugfixes)
This commit is contained in:
parent
6cc72fd71c
commit
c48cfd5b04
78
2-user.sh
78
2-user.sh
|
|
@ -84,6 +84,45 @@ else
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "-------------------------------------------------------------------------"
|
||||||
|
echo "-- Setup User Theme --"
|
||||||
|
echo "-------------------------------------------------------------------------"
|
||||||
|
# Zsh syntax highlighting
|
||||||
|
cd ~
|
||||||
|
touch "$HOME/.cache/zshhistory"
|
||||||
|
git clone "https://github.com/ChrisTitusTech/zsh"
|
||||||
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/powerlevel10k
|
||||||
|
ln -s "$HOME/zsh/.zshrc" $HOME/.zshrc
|
||||||
|
|
||||||
|
# KDE config
|
||||||
|
sudo pacman -S python-pip --noconfirm --needed
|
||||||
|
export PATH=$PATH:~/.local/bin
|
||||||
|
cp -r $HOME/ArchTitus/dotfiles/* $HOME/.config/
|
||||||
|
pip install konsave
|
||||||
|
konsave -i $HOME/ArchTitus/kde.knsv
|
||||||
|
sleep 1
|
||||||
|
konsave -a kde
|
||||||
|
|
||||||
|
sudo systemctl enable sddm.service
|
||||||
|
sudo bash -c 'cat <<EOF > /etc/sddm.conf
|
||||||
|
[Theme]
|
||||||
|
Current=Nordic
|
||||||
|
[General]
|
||||||
|
InputMethod=qtvirtualkeyboard
|
||||||
|
EOF
|
||||||
|
'
|
||||||
|
|
||||||
|
# ffmpegthumbs (video thumbnails) for Dolphin
|
||||||
|
# This is dolphin defaults + ffmpegthumbs
|
||||||
|
echo "[PreviewSettings]" >> $HOME/.config/dolphinrc
|
||||||
|
echo "Plugins=appimagethumbnail,audiothumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,opendocumentthumbnail,svgthumbnail,textthumbnail,ffmpegthumbs" >> $HOME/.config/dolphinrc
|
||||||
|
echo "[PreviewSettings]" >> $HOME/.config/kdeglobals
|
||||||
|
echo "MaximumRemoteSize=10485758951424" >> $HOME/.config/kdeglobals
|
||||||
|
|
||||||
|
#echo "[General]" >> $HOME/.config/dolphinrc
|
||||||
|
#echo "RememberOpenedTabs=false" >> $HOME/.config/dolphinrc
|
||||||
|
|
||||||
# install optional weather package if configured
|
# install optional weather package if configured
|
||||||
if [ ! -z "${openWeatherMapCityId}" ]; then
|
if [ ! -z "${openWeatherMapCityId}" ]; then
|
||||||
if [ -z "${openWeatherMapCityAlias}" ]; then
|
if [ -z "${openWeatherMapCityAlias}" ]; then
|
||||||
|
|
@ -159,45 +198,6 @@ else
|
||||||
echo "no weather configured"
|
echo "no weather configured"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "-------------------------------------------------------------------------"
|
|
||||||
echo "-- Setup User Theme --"
|
|
||||||
echo "-------------------------------------------------------------------------"
|
|
||||||
# Zsh syntax highlighting
|
|
||||||
cd ~
|
|
||||||
touch "$HOME/.cache/zshhistory"
|
|
||||||
git clone "https://github.com/ChrisTitusTech/zsh"
|
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/powerlevel10k
|
|
||||||
ln -s "$HOME/zsh/.zshrc" $HOME/.zshrc
|
|
||||||
|
|
||||||
# KDE config
|
|
||||||
sudo pacman -S python-pip --noconfirm --needed
|
|
||||||
export PATH=$PATH:~/.local/bin
|
|
||||||
cp -r $HOME/ArchTitus/dotfiles/* $HOME/.config/
|
|
||||||
pip install konsave
|
|
||||||
konsave -i $HOME/ArchTitus/kde.knsv
|
|
||||||
sleep 1
|
|
||||||
konsave -a kde
|
|
||||||
|
|
||||||
sudo systemctl enable sddm.service
|
|
||||||
sudo bash -c 'cat <<EOF > /etc/sddm.conf
|
|
||||||
[Theme]
|
|
||||||
Current=Nordic
|
|
||||||
[General]
|
|
||||||
InputMethod=qtvirtualkeyboard
|
|
||||||
EOF
|
|
||||||
'
|
|
||||||
|
|
||||||
# ffmpegthumbs (video thumbnails) for Dolphin
|
|
||||||
# This is dolphin defaults + ffmpegthumbs
|
|
||||||
echo "[PreviewSettings]" >> $HOME/.config/dolphinrc
|
|
||||||
echo "Plugins=appimagethumbnail,audiothumbnail,comicbookthumbnail,cursorthumbnail,djvuthumbnail,ebookthumbnail,exrthumbnail,directorythumbnail,fontthumbnail,imagethumbnail,jpegthumbnail,kraorathumbnail,windowsexethumbnail,windowsimagethumbnail,opendocumentthumbnail,svgthumbnail,textthumbnail,ffmpegthumbs" >> $HOME/.config/dolphinrc
|
|
||||||
echo "[PreviewSettings]" >> $HOME/.config/kdeglobals
|
|
||||||
echo "MaximumRemoteSize=10485758951424" >> $HOME/.config/kdeglobals
|
|
||||||
|
|
||||||
#echo "[General]" >> $HOME/.config/dolphinrc
|
|
||||||
#echo "RememberOpenedTabs=false" >> $HOME/.config/dolphinrc
|
|
||||||
|
|
||||||
# In case someone installs syncthing
|
# In case someone installs syncthing
|
||||||
username=$(whoami)
|
username=$(whoami)
|
||||||
systemctl enable syncthing@$username.service
|
systemctl enable syncthing@$username.service
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue