diff --git a/.gitignore b/.gitignore index 6b8710a..c966c80 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .git +backups \ No newline at end of file diff --git a/README.md b/README.md index 7be2a83..19d534b 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,6 @@ - Check KDE settings in general, see if I can automate the set up ``` +sudo apt install --assume-yes git git clone https://github.com/YourWishes/dotenv && cd dotenv && chmod +x ./dotenv.sh && ./dotenv.sh ``` \ No newline at end of file diff --git a/dotenv.sh b/dotenv.sh index 7e7e9cd..d2e1ef8 100755 --- a/dotenv.sh +++ b/dotenv.sh @@ -30,3 +30,8 @@ source ~/.nvm/nvm.sh # VIM ./scripts/install-vim.sh + +# Plasma Desktop +if [[ "$XDG_CURRENT_DESKTOP" -eq "KDE" ]]; then + ./scripts/install-plasma.sh +fi \ No newline at end of file diff --git a/scripts/install-debian.sh b/scripts/install-debian.sh index e193a6e..feeeee5 100755 --- a/scripts/install-debian.sh +++ b/scripts/install-debian.sh @@ -5,6 +5,6 @@ sudo apt update sudo apt upgrade # Install -sudo apt install build-essential unrar vim git cmake neovim +sudo apt install --assume-yes build-essential unrar vim git cmake neovim echo "alias vim=nvim" >> ~/.bashrc diff --git a/scripts/install-games.sh b/scripts/install-games.sh new file mode 100755 index 0000000..be9c62a --- /dev/null +++ b/scripts/install-games.sh @@ -0,0 +1,6 @@ +#!/bin/bash +sudo apt install steam-installer lutris + +sudo add-apt-repository ppa:libretro/stable +sudo apt-get update +sudo apt-get --assume-yes install retroarch \ No newline at end of file diff --git a/scripts/install-plasma.sh b/scripts/install-plasma.sh new file mode 100755 index 0000000..2751098 --- /dev/null +++ b/scripts/install-plasma.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +# Create applications directory +mkdir -p ~/Applications + +# Install APT Software +sudo apt install --assume-yes vlc firefox pinta font-viewer cheese peek gparted elisa meld filezilla obs-studio obs-plugins +# Not used: sudo apt install inkscape krita + +# Install Solaar (For MXM3 Mouse) +sudo apt install --assume-yes solaar + +# Install snap Software +sudo snap install bitwarden discord spectacle +sudo snap connect discord:system-observe + +# Install WINE +sudo apt install --assume-yes wine winetricks + +# pCloud +wget https://p-def4.pcloud.com/cBZML0tunZ9jjz8wZZZFvXMi7Z2ZZmNzZkZg7ypVZHZSRZtFZtpZ57ZXHZoHZPFZTVZLzZozZhHZ2zZ2HZhAHEXZxgwQ3MSgNgHdl8yODbBr4yYhuDYy/pcloud -O ~/Applications/pcloud +chmod +x ~/Applications/pcloud + +# VS Code +wget https://az764295.vo.msecnd.net/stable/899d46d82c4c95423fb7e10e68eba52050e30ba3/code_1.63.2-1639562499_amd64.deb -O ~/Downloads/vscode.deb +sudo dpkg -i ~/Downloads/vscode.deb +rm ~/Downloads/vscode.deb + +# PIA +wget https://installers.privateinternetaccess.com/download/pia-linux-3.2-06857.run -O ~/Downloads/pia.run +chmod +x ~/Downloads/pia.run +mkdir -p ~/.config/privateinternetaccess +cp ./scripts/pia-settings.json ~/.config/privateinternetaccess/clientsettings.json +~/Downloads/pia.run +rm ~/Downloads/pia.run + +# Begin KDE Configuration! +#mkdir -p ./backups +#cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ./backups/plasma-org.kde.plasma.desktop-appletsrc +#kquitapp5 plasmashell +#cp ./scripts/kde-config ~/.config/plasma-org.kde.plasma.desktop-appletsrc +#kstart5 plasmashell \ No newline at end of file diff --git a/scripts/kde-config b/scripts/kde-config new file mode 100644 index 0000000..d1113b8 --- /dev/null +++ b/scripts/kde-config @@ -0,0 +1,178 @@ +[ActionPlugins][0] +MiddleButton;NoModifier=org.kde.paste +RightButton;NoModifier=org.kde.contextmenu +wheel:Vertical;NoModifier=org.kde.switchdesktop + +[ActionPlugins][1] +RightButton;NoModifier=org.kde.contextmenu + +[Containments][1] +ItemGeometries-1200x1920= +ItemGeometries-1920x1200= +ItemGeometries-3440x1440= +ItemGeometriesHorizontal= +ItemGeometriesVertical= +activityId=f7ff637f-be97-4c91-a793-4c52957f3714 +formfactor=0 +immutability=1 +lastScreen=0 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin=org.kde.image + +[Containments][1][General] +ToolBoxButtonState=topcenter +ToolBoxButtonX=1140 + +[Containments][1][Wallpaper][org.kde.image][General] +Image=file:///usr/share/wallpapers/Next/contents/images/1920x1200.png + +[Containments][2] +activityId= +formfactor=2 +immutability=1 +lastScreen=0 +location=4 +plugin=org.kde.panel +wallpaperplugin=org.kde.image + +[Containments][2][Applets][19] +immutability=1 +plugin=org.kde.plasma.digitalclock + +[Containments][2][Applets][3] +immutability=1 +plugin=org.kde.plasma.kickoff + +[Containments][2][Applets][3][Configuration] +PreloadWeight=100 + +[Containments][2][Applets][3][Configuration][Configuration/General] +showAppsByName=true + +[Containments][2][Applets][3][Configuration][General] +favorites=preferred://browser,org.kde.discover.desktop,org.kde.kontact.desktop,org.kde.kate.desktop,libreoffice-startcenter.desktop,org.kde.dolphin.desktop,org.kde.plasma-systemmonitor.desktop,systemsettings.desktop,org.kde.konsole.desktop +favoritesPortedToKAstats=true + +[Containments][2][Applets][3][Configuration][Shortcuts] +global=Alt+F1 + +[Containments][2][Applets][3][Shortcuts] +global=Alt+F1 + +[Containments][2][Applets][31] +immutability=1 +plugin=org.kde.plasma.taskmanager + +[Containments][2][Applets][31][Configuration][General] +launchers=preferred://filemanager,preferred://browser + +[Containments][2][Applets][7] +immutability=1 +plugin=org.kde.plasma.systemtray + +[Containments][2][Applets][7][Configuration] +PreloadWeight=70 +SystrayContainmentId=8 + +[Containments][2][ConfigDialog] +DialogHeight=99 +DialogWidth=3440 + +[Containments][2][General] +AppletOrder=3;31;7;19 + +[Containments][24] +ItemGeometries-1920x1200= +ItemGeometriesHorizontal= +activityId=f7ff637f-be97-4c91-a793-4c52957f3714 +formfactor=0 +immutability=1 +lastScreen=1 +location=0 +plugin=org.kde.plasma.folder +wallpaperplugin=org.kde.image + +[Containments][24][Wallpaper][org.kde.image][General] +Image=file:///usr/share/wallpapers/Next/contents/images/1920x1200.png + +[Containments][8] +activityId= +formfactor=2 +immutability=1 +lastScreen=0 +location=4 +plugin=org.kde.plasma.private.systemtray +wallpaperplugin=org.kde.image + +[Containments][8][Applets][10] +immutability=1 +plugin=org.kde.plasma.printmanager + +[Containments][8][Applets][11][Configuration] +PreloadWeight=42 + +[Containments][8][Applets][12] +immutability=1 +plugin=org.kde.plasma.keyboardlayout + +[Containments][8][Applets][13] +immutability=1 +plugin=org.kde.plasma.devicenotifier + +[Containments][8][Applets][14] +immutability=1 +plugin=org.kde.plasma.keyboardindicator + +[Containments][8][Applets][15] +immutability=1 +plugin=org.kde.plasma.notifications + +[Containments][8][Applets][16] +immutability=1 +plugin=org.kde.plasma.nightcolorcontrol + +[Containments][8][Applets][17] +immutability=1 +plugin=org.kde.kdeconnect + +[Containments][8][Applets][18] +immutability=1 +plugin=org.kde.plasma.volume + +[Containments][8][Applets][21] +immutability=1 +plugin=org.kde.plasma.battery + +[Containments][8][Applets][21][Configuration] +PreloadWeight=55 + +[Containments][8][Applets][22] +immutability=1 +plugin=org.kde.plasma.networkmanagement + +[Containments][8][Applets][22][Configuration] +PreloadWeight=55 + +[Containments][8][Applets][23] +immutability=1 +plugin=org.kde.plasma.bluetooth + +[Containments][8][Applets][23][Configuration] +PreloadWeight=55 + +[Containments][8][Applets][9] +immutability=1 +plugin=org.kde.plasma.vault + +[Containments][8][ConfigDialog] +DialogHeight=868 +DialogWidth=1120 + +[Containments][8][General] +extraItems=org.kde.plasma.vault,org.kde.plasma.printmanager,org.kde.kupapplet,org.kde.plasma.keyboardlayout,org.kde.plasma.battery,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.mediacontroller,org.kde.plasma.notifications,org.kde.plasma.nightcolorcontrol,org.kde.plasma.bluetooth,org.kde.plasma.networkmanagement,org.kde.kdeconnect,org.kde.plasma.volume,pcloud,KDE Daemon,indicator-solaar +hiddenItems=org.kde.plasma.bluetooth,pcloud,KDE Daemon,org.kde.plasma.nightcolorcontrol,org.kde.plasma.vault,indicator-solaar,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.kdeconnect +knownItems=org.kde.plasma.vault,org.kde.plasma.printmanager,org.kde.plasma.clipboard,org.kde.kupapplet,org.kde.plasma.keyboardlayout,org.kde.plasma.battery,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.mediacontroller,org.kde.plasma.notifications,org.kde.plasma.nightcolorcontrol,org.kde.plasma.bluetooth,org.kde.plasma.networkmanagement,org.kde.kdeconnect,org.kde.plasma.volume + +[ScreenMapping] +itemsOnDisabledScreens= diff --git a/scripts/pia-settings.json b/scripts/pia-settings.json new file mode 100644 index 0000000..8dbd047 --- /dev/null +++ b/scripts/pia-settings.json @@ -0,0 +1,36 @@ +{ + "connectOnLaunch":false, + "dashboardFrame":"window", + "desktopNotifications":true, + "disableHardwareGraphics":false, + "favoriteLocations":[ + + ], + "iconSet":"colored", + "language":"en-US", + "migrateDaemonSettings":false, + "primaryModules":[ + "region", + "ip" + ], + "ratingRequestDisabled":false, + "recentLocations":[ + + ], + "regionSortKey":"latency", + "secondaryModules":[ + "quickconnect", + "performance", + "usage", + "settings", + "account" + ], + "shadowsocksCollapsedCountries":[ + + ], + "snoozeDuration":300, + "themeName":"dark", + "vpnCollapsedCountries":[ + + ] + } \ No newline at end of file