added more setup scripts
This commit is contained in:
parent
6295576195
commit
2c7a5adeb4
12 changed files with 104 additions and 65 deletions
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -2,6 +2,7 @@
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"alacritty",
|
"alacritty",
|
||||||
"btop",
|
"btop",
|
||||||
|
"davinci",
|
||||||
"deno",
|
"deno",
|
||||||
"developomp",
|
"developomp",
|
||||||
"flatpak",
|
"flatpak",
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
"""
|
"""
|
||||||
setup scripts require two things: name and setup function.
|
setup scripts require two things: name and setup function.
|
||||||
name is a string that contains what it'll show in the list, and setup() is what'll run when it is selected.
|
name is a string that contains what it'll show in the list, and setup() is what'll run when it is selected.
|
||||||
|
|
||||||
|
name: string
|
||||||
|
post_install: array or string
|
||||||
|
setup: function
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from . import *
|
from . import *
|
||||||
|
@ -366,11 +370,6 @@ setup_gsmartcontrol() {
|
||||||
package_install gsmartcontrol
|
package_install gsmartcontrol
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_inkscape() {
|
|
||||||
# adobe illustrator but FOSS
|
|
||||||
package_install inkscape
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_jdk() {
|
setup_jdk() {
|
||||||
# jdk-openjdk: latest jdk (17 as of writing)
|
# jdk-openjdk: latest jdk (17 as of writing)
|
||||||
# jdk8-openjdk: jdk8
|
# jdk8-openjdk: jdk8
|
||||||
|
@ -382,11 +381,6 @@ setup_jdk() {
|
||||||
jdk11-openjdk
|
jdk11-openjdk
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_kdenlive() {
|
|
||||||
# video editing
|
|
||||||
package_install kdenlive-appimage
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_keyboard() {
|
setup_keyboard() {
|
||||||
# Korean keyboard support
|
# Korean keyboard support
|
||||||
package_install ibus-hangul
|
package_install ibus-hangul
|
||||||
|
@ -406,22 +400,6 @@ setup_mystiq() {
|
||||||
package_install mystiq
|
package_install mystiq
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_node() {
|
|
||||||
# nodejs: Javascript on servers!
|
|
||||||
# nvm: Node.JS version manager
|
|
||||||
# npm: node package manager
|
|
||||||
# yarn: better node package manager
|
|
||||||
|
|
||||||
package_install \
|
|
||||||
nodejs \
|
|
||||||
nvm \
|
|
||||||
npm \
|
|
||||||
yarn
|
|
||||||
|
|
||||||
# https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
|
|
||||||
# export PATH="$(yarn global bin):$PATH"
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_obs() {
|
setup_obs() {
|
||||||
# obs-plugin-input-overlay-bin: show inputs in OBS
|
# obs-plugin-input-overlay-bin: show inputs in OBS
|
||||||
# obs-studio-browser: screen recording and streaming with browser overlay support
|
# obs-studio-browser: screen recording and streaming with browser overlay support
|
||||||
|
@ -431,10 +409,6 @@ setup_obs() {
|
||||||
obs-studio-browser
|
obs-studio-browser
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_ordne() {
|
|
||||||
package_install ordne
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_pacman() {
|
setup_pacman() {
|
||||||
# enable multilib, color, parallel download, and total download in /etc/pacman.conf
|
# enable multilib, color, parallel download, and total download in /etc/pacman.conf
|
||||||
:
|
:
|
||||||
|
@ -471,24 +445,11 @@ setup_pip() {
|
||||||
package_install python-pip
|
package_install python-pip
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_piper() {
|
|
||||||
# gaming mouse settings GUI
|
|
||||||
package_install piper
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_pomky() {
|
setup_pomky() {
|
||||||
install ./home/pomp/.local/bin/pomky ~/.local/bin/
|
install ./home/pomp/.local/bin/pomky ~/.local/bin/
|
||||||
install ./home/pomp/.config/autostart/pomky.desktop ~/.config/autostart/
|
install ./home/pomp/.config/autostart/pomky.desktop ~/.config/autostart/
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_rust() {
|
|
||||||
package_install \
|
|
||||||
rust \
|
|
||||||
rustup
|
|
||||||
|
|
||||||
rustup install stable
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_shfmt() {
|
setup_shfmt() {
|
||||||
package_install shfmt
|
package_install shfmt
|
||||||
}
|
}
|
||||||
|
@ -502,13 +463,6 @@ setup_timeshift() {
|
||||||
package_install timeshift
|
package_install timeshift
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_unity() {
|
|
||||||
# game engine
|
|
||||||
package_install unityhub
|
|
||||||
|
|
||||||
POST_INSTALL+=("Change editors location")
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_vim() {
|
setup_vim() {
|
||||||
# vim plugin manager
|
# vim plugin manager
|
||||||
package_install vim-plug
|
package_install vim-plug
|
||||||
|
@ -517,19 +471,6 @@ setup_vim() {
|
||||||
POST_INSTALL+=("Install vim plugins with :PlugInstall command")
|
POST_INSTALL+=("Install vim plugins with :PlugInstall command")
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_virtualbox() {
|
|
||||||
# https://wiki.archlinux.org/title/VirtualBox
|
|
||||||
|
|
||||||
package_install \
|
|
||||||
virtualbox \
|
|
||||||
virtualbox-host-modules-arch \
|
|
||||||
virtualbox-ext-oracle
|
|
||||||
|
|
||||||
sudo systemctl enable systemd-modules-load
|
|
||||||
sudo systemctl start systemd-modules-load
|
|
||||||
sudo modprobe vboxdrv
|
|
||||||
}
|
|
||||||
|
|
||||||
setup_wine() {
|
setup_wine() {
|
||||||
# wine: compatibility layer
|
# wine: compatibility layer
|
||||||
# wine-gecko: internet explorer for wine
|
# wine-gecko: internet explorer for wine
|
||||||
|
|
7
src/setup/davinci_resolve.py
Normal file
7
src/setup/davinci_resolve.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from ..util import pamac_install
|
||||||
|
|
||||||
|
name = "Davinci Resolve"
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
pamac_install("davinci-resolve")
|
|
@ -4,4 +4,10 @@ name = "deno"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
"""
|
||||||
|
nodejs++
|
||||||
|
|
||||||
|
check .zshrc for bin path stuff
|
||||||
|
"""
|
||||||
|
|
||||||
pamac_install("deno")
|
pamac_install("deno")
|
||||||
|
|
|
@ -4,6 +4,10 @@ name = "Godot"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""MIT licensed game engine"""
|
"""
|
||||||
|
MIT licensed game engine
|
||||||
|
|
||||||
|
check .zshrc for path stuff
|
||||||
|
"""
|
||||||
|
|
||||||
flatpak_install("org.godotengine.Godot")
|
flatpak_install("org.godotengine.Godot")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from .. import deno, dotnet, vscodium
|
from .. import deno, dotnet, rust, vscodiumm
|
||||||
|
|
||||||
name = "dev"
|
name = "dev"
|
||||||
|
|
||||||
|
@ -8,4 +8,5 @@ def setup():
|
||||||
|
|
||||||
deno.setup()
|
deno.setup()
|
||||||
dotnet.setup()
|
dotnet.setup()
|
||||||
|
rust.setup()
|
||||||
vscodium.setup()
|
vscodium.setup()
|
||||||
|
|
9
src/setup/inkscape.py
Normal file
9
src/setup/inkscape.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
from ..util import flatpak_install
|
||||||
|
|
||||||
|
name = "Inkscape"
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
"""adobe illustrator but FOSS"""
|
||||||
|
|
||||||
|
flatpak_install("org.inkscape.Inkscape")
|
21
src/setup/node.py
Normal file
21
src/setup/node.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
from ..util import pamac_install
|
||||||
|
from os import system
|
||||||
|
|
||||||
|
name = "node"
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
"""
|
||||||
|
Javascript outside of browsers!
|
||||||
|
|
||||||
|
https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
|
||||||
|
|
||||||
|
nodejs: Javascript on servers!
|
||||||
|
nvm: NodejS version manager
|
||||||
|
npm: node package manager
|
||||||
|
yarn: better node package manager
|
||||||
|
|
||||||
|
check .zshrc for bin path stuff
|
||||||
|
"""
|
||||||
|
|
||||||
|
pamac_install(["nodejs", "nvm", "npm", "yarn"])
|
9
src/setup/piper.py
Normal file
9
src/setup/piper.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
from ..util import flatpak_install
|
||||||
|
|
||||||
|
name = "piper"
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
"""gaming mouse configuration utility"""
|
||||||
|
|
||||||
|
flatpak_install("org.freedesktop.Piper")
|
12
src/setup/rust.py
Normal file
12
src/setup/rust.py
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
from ..util import pamac_install
|
||||||
|
from os import system
|
||||||
|
|
||||||
|
name = "rust"
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
"""The next C"""
|
||||||
|
|
||||||
|
pamac_install(["rust", "rustup"])
|
||||||
|
|
||||||
|
system("rustup install stable")
|
10
src/setup/unity_hub.py
Normal file
10
src/setup/unity_hub.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
from ..util import flatpak_install
|
||||||
|
|
||||||
|
name = "Unity hub"
|
||||||
|
post_install = ["Change editors location"]
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
"""Unity hub"""
|
||||||
|
|
||||||
|
flatpak_install("com.unity.UnityHub")
|
18
src/setup/virtualbox.py
Normal file
18
src/setup/virtualbox.py
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
from ..util import pamac_install
|
||||||
|
from os import system
|
||||||
|
|
||||||
|
name = "virtualbox"
|
||||||
|
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
"""It's a computer inside a computer!"""
|
||||||
|
|
||||||
|
pamac_install([
|
||||||
|
"virtualbox",
|
||||||
|
"virtualbox-host-modules-arch",
|
||||||
|
"virtualbox-ext-oracle"
|
||||||
|
])
|
||||||
|
|
||||||
|
system("sudo systemctl enable systemd-modules-load")
|
||||||
|
system("sudo systemctl start systemd-modules-load")
|
||||||
|
system("sudo modprobe vboxdrv")
|
Loading…
Add table
Add a link
Reference in a new issue