mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
chore: kde-neon -> linux, kitty themes + settings, install-script fixes
This commit is contained in:
@@ -11,7 +11,7 @@ input_file_check() {
|
||||
|
||||
install_brew() {
|
||||
if ! command -v brew > /dev/null 2>&1; then
|
||||
yes | bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
yes | NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
||||
|
||||
@@ -32,10 +32,26 @@ dnf_setup() {
|
||||
|
||||
# Enable RPM Fusion & Install media codecs
|
||||
sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-"$(rpm -E %fedora)".noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-"$(rpm -E %fedora)".noarch.rpm && sudo dnf groupupdate -y core multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin sound-and-video
|
||||
|
||||
# Add VS-Code repo
|
||||
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||
printf "%s\n%s\n%s\n%s\n%s\n%s\n" "[code]" "name=Visual Studio Code" "baseurl=https://packages.microsoft.com/yumrepos/vscode" "enabled=1" "gpgcheck=1" "gpgkey=https://packages.microsoft/com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
|
||||
|
||||
# Install development Tools
|
||||
sudo yum groupinstall -y "Development Tools" && yum install readline readline-devel -y
|
||||
|
||||
dnf check-update
|
||||
}
|
||||
|
||||
apt_setup() {
|
||||
sudo apt-get update && sudo apt-get upgrade -y
|
||||
|
||||
# Add VS-Code repo
|
||||
sudo apt-get install -y wget gpg
|
||||
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
|
||||
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
|
||||
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list > /dev/null
|
||||
rm -f packages.microsoft.gpg && sudo apt-get update
|
||||
}
|
||||
|
||||
input_file_check() {
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# TODO: Things that did not work
|
||||
# - Shortcuts: Maximize current window with [Windows + space] didn't
|
||||
# - NEOVIM: Lazy did not download automatically
|
||||
# - dotfiles: could NOT link it to aliases_personal
|
||||
# TODO: Ensure KDE, Jetbrains, Zed, Sublime-text, VS-Code, flatpak, kitty: have the same theme installed
|
||||
|
||||
# NOTE: should download dotfiles repo to ~ and NOT to ~/Downloads - since we are going to link Downloads
|
||||
|
||||
kitty_term() {
|
||||
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
|
||||
|
||||
@@ -31,8 +39,6 @@ post_install() {
|
||||
ln -s /home/linuxbrew/.linuxbrew/share/fonts -t ~/.local/share && fc-cache -fv
|
||||
fi
|
||||
|
||||
# TODO: Ensure KDE, Jetbrains, Zed, Sublime-text, VS-Code, flatpak have: the same theme installed
|
||||
|
||||
rm -rf ~/.cache
|
||||
}
|
||||
|
||||
@@ -53,10 +59,10 @@ main() {
|
||||
pre_install
|
||||
|
||||
./install-os-packages.sh
|
||||
./install-brew-packages.sh
|
||||
./install-flatpak-packages.sh
|
||||
# ./install-brew-packages.sh
|
||||
# ./install-flatpak-packages.sh
|
||||
|
||||
manual_installs
|
||||
# manual_installs
|
||||
post_install
|
||||
|
||||
cat "$INSTALL_LOG_FILE"
|
||||
|
||||
@@ -1,17 +1,15 @@
|
||||
# Lines that start with # are ignored
|
||||
# TIP: Only add GUI apps that aren't available/updated on OS repos
|
||||
com.brave.Browser
|
||||
com.visualstudio.code
|
||||
org.mozilla.firefox
|
||||
org.libreoffice.libreoffice
|
||||
org.libreoffice.LibreOffice
|
||||
com.mattermost.Desktop
|
||||
md.obsidian.Obsidian
|
||||
com.getpostman.Postman
|
||||
#com.jetbrains.Rider
|
||||
#com.slack.Slack
|
||||
com.github.tchx84.Flatseal
|
||||
org.kde.KStyle.Kvantum/x86_64/6.6
|
||||
org.kde.okular
|
||||
com.skype.Client
|
||||
dev.zed.zed
|
||||
dev.zed.Zed
|
||||
io.github.zen_browser.zen
|
||||
#org.kde.KStyle.Kvantum
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Lines that start with # are ignored
|
||||
# Below few are apt-only packages - non-free sources must be added before this
|
||||
apt-transport-https
|
||||
build-essential
|
||||
libreadline-dev
|
||||
libavcodec-extra
|
||||
nvidia-driver
|
||||
synaptic
|
||||
@@ -11,9 +13,9 @@ xorg-x11-drv-nvidia-cuda
|
||||
# Common
|
||||
bash
|
||||
bleachbit
|
||||
build-essential
|
||||
ca-certificates
|
||||
clang
|
||||
code
|
||||
curl
|
||||
evolution-ews
|
||||
dolphin
|
||||
@@ -22,6 +24,7 @@ aspnetcore-runtime-8.0
|
||||
dotnet-sdk-8.0
|
||||
dotnet-runtime-8.0
|
||||
ffmpeg
|
||||
firefox
|
||||
flameshot
|
||||
flatpak
|
||||
plasma-discover-backend-flatpak
|
||||
@@ -36,8 +39,11 @@ kde-spectacle
|
||||
kdeconnect
|
||||
kitty-terminfo
|
||||
llvm
|
||||
lua
|
||||
lua5.3
|
||||
make
|
||||
nala
|
||||
neovim
|
||||
net-tools
|
||||
openssh-client
|
||||
python3
|
||||
|
||||
@@ -5,7 +5,6 @@ FROM debian:11-slim
|
||||
#FROM ubuntu:22.04
|
||||
#FROM ubuntu:23.04
|
||||
#FROM fedora:40
|
||||
#TODO: Arch
|
||||
WORKDIR /dotfiles
|
||||
RUN apt-get update && apt-get install sudo -y # for debian distros
|
||||
#RUN dnf install sudo -y # for fedora and its derivatives
|
||||
|
||||
Reference in New Issue
Block a user