change script name metadata to desc & other stuff
- rename terminal to kitty - remove gnome calendar
This commit is contained in:
parent
57c56ba53a
commit
5551afb0c3
60 changed files with 75 additions and 241 deletions
|
@ -13,7 +13,7 @@ def choose_action() -> int:
|
||||||
f"""{s.removeprefix(f"{content_dir}/src/setup/")} - {import_file(
|
f"""{s.removeprefix(f"{content_dir}/src/setup/")} - {import_file(
|
||||||
s.removeprefix(f"{content_dir}/src/setup/"),
|
s.removeprefix(f"{content_dir}/src/setup/"),
|
||||||
s,
|
s,
|
||||||
).name}"""
|
).desc}"""
|
||||||
for s in glob(f"{content_dir}/src/setup/**/*.py", recursive=True)
|
for s in glob(f"{content_dir}/src/setup/**/*.py", recursive=True)
|
||||||
if "__init__.py" not in s
|
if "__init__.py" not in s
|
||||||
]
|
]
|
||||||
|
@ -59,5 +59,5 @@ def menu():
|
||||||
|
|
||||||
if choose_action() < 0:
|
if choose_action() < 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
print("Setup complete!")
|
print("Setup complete!")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Blender"
|
desc = "3D graphics tool"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""3D graphics tool"""
|
|
||||||
|
|
||||||
flatpak_install("org.blender.Blender")
|
flatpak_install("org.blender.Blender")
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Brave"
|
desc = "The least worst web browser"
|
||||||
|
|
||||||
# Brave handles restoration itself using its own sync stuff
|
# Brave handles restoration itself using its own sync stuff
|
||||||
post_install = ["enable sync"]
|
post_install = ["enable sync"]
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""The least worst web browser"""
|
|
||||||
|
|
||||||
flatpak_install("com.brave.Browser")
|
flatpak_install("com.brave.Browser")
|
||||||
|
|
|
@ -4,7 +4,7 @@ from src.util import flatpak_install, paru_install, copy_file
|
||||||
from src.log import log
|
from src.log import log
|
||||||
|
|
||||||
|
|
||||||
name = "Discord"
|
desc = "Discord and better discord"
|
||||||
|
|
||||||
PLUGINS = (
|
PLUGINS = (
|
||||||
134, # https://betterdiscord.app/plugin/Avatar%20Hover
|
134, # https://betterdiscord.app/plugin/Avatar%20Hover
|
||||||
|
@ -50,8 +50,6 @@ PLUGINS = (
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Discord and better discord"""
|
|
||||||
|
|
||||||
flatpak_install("com.discordapp.Discord")
|
flatpak_install("com.discordapp.Discord")
|
||||||
paru_install("betterdiscordctl-git")
|
paru_install("betterdiscordctl-git")
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "GIMP"
|
desc = "Photoshop but FOSS"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""photoshop but FOSS"""
|
|
||||||
|
|
||||||
flatpak_install("org.gimp.GIMP")
|
flatpak_install("org.gimp.GIMP")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "SSD Health checker"
|
desc = "SSD Health checker"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Inkscape"
|
desc = "Adobe Illustrator but FOSS"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""adobe illustrator but FOSS"""
|
|
||||||
|
|
||||||
flatpak_install("org.inkscape.Inkscape")
|
flatpak_install("org.inkscape.Inkscape")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Kdenlive"
|
desc = "Adobe Premiere Pro but FOSS"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""FOSS video editing utility"""
|
|
||||||
|
|
||||||
flatpak_install("org.kde.kdenlive")
|
flatpak_install("org.kde.kdenlive")
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
from src.util import appimage_install
|
from src.util import appimage_install
|
||||||
|
|
||||||
name = "Notesnook"
|
desc = "FOSS Note taking utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""FOSS Note taking utility"""
|
|
||||||
|
|
||||||
appimage_install(
|
appimage_install(
|
||||||
"https://notesnook.com/releases/linux/notesnook_linux_x86_64.AppImage",
|
"https://notesnook.com/releases/linux/notesnook_linux_x86_64.AppImage",
|
||||||
"notesnook_linux_x86_64",
|
"notesnook_linux_x86_64",
|
||||||
|
|
|
@ -1,15 +1,8 @@
|
||||||
from src.util import flatpak_install, paru_install
|
from src.util import flatpak_install, paru_install
|
||||||
|
|
||||||
name = "OBS studio"
|
desc = "Screen recording and streaming utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
Screen recording and streaming utility
|
|
||||||
|
|
||||||
obs-plugin-input-overlay-bin: show inputs in OBS
|
|
||||||
"""
|
|
||||||
|
|
||||||
flatpak_install("com.obsproject.Studio")
|
flatpak_install("com.obsproject.Studio")
|
||||||
|
|
||||||
paru_install("obs-plugin-input-overlay-bin")
|
paru_install("obs-plugin-input-overlay-bin")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Office suite"
|
desc = "FOSS Office suite"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""MS office cracked 2022 pro+ deluxe v2.4"""
|
|
||||||
|
|
||||||
flatpak_install("org.onlyoffice.desktopeditors")
|
flatpak_install("org.onlyoffice.desktopeditors")
|
||||||
|
|
|
@ -2,12 +2,10 @@
|
||||||
|
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "Tenacity"
|
desc = "Audacity fork that doesn't suck"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Safe audacity fork"""
|
|
||||||
|
|
||||||
system(
|
system(
|
||||||
"flatpak remote-add tenacity oci+https://tenacityteam.github.io/tenacity-flatpak-nightly"
|
"flatpak remote-add tenacity oci+https://tenacityteam.github.io/tenacity-flatpak-nightly"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "timshift"
|
desc = "System backup and restoration utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""System backup and restoring utility"""
|
|
||||||
|
|
||||||
paru_install("timeshift")
|
paru_install("timeshift")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "bat"
|
desc = "cat but rusty"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""cat but better and rusty"""
|
|
||||||
|
|
||||||
paru_install("bat")
|
paru_install("bat")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "Btop"
|
desc = "top but better"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""top but better"""
|
|
||||||
|
|
||||||
paru_install("btop")
|
paru_install("btop")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "fd"
|
desc = "find but rusty"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""find but modern and rusty"""
|
|
||||||
|
|
||||||
paru_install("fd")
|
paru_install("fd")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "dconf editor"
|
desc = "GUI application for editing dconf"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""GUI application for editing dconf"""
|
|
||||||
|
|
||||||
flatpak_install("ca.desrt.dconf-editor")
|
flatpak_install("ca.desrt.dconf-editor")
|
||||||
|
|
|
@ -2,10 +2,8 @@ from src.util import flatpak_install
|
||||||
|
|
||||||
from os import makedirs
|
from os import makedirs
|
||||||
|
|
||||||
name = "flatseal"
|
desc = "flatpak permission manager"
|
||||||
|
|
||||||
|
|
||||||
def setup() -> None:
|
def setup() -> None:
|
||||||
"""flatpak permission manager"""
|
|
||||||
|
|
||||||
flatpak_install("com.github.tchx84.Flatseal")
|
flatpak_install("com.github.tchx84.Flatseal")
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "PulseAudio volume control"
|
desc = "PulseAudio manager"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
The thing I use until I find a good pipewire app
|
|
||||||
"""
|
|
||||||
|
|
||||||
paru_install("pavucontrol")
|
paru_install("pavucontrol")
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "piper"
|
desc = "Gaming mouse configuration utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""gaming mouse configuration utility"""
|
|
||||||
|
|
||||||
# Not using flatpak version because of some init bugs
|
# Not using flatpak version because of some init bugs
|
||||||
paru_install("piper")
|
paru_install("piper")
|
||||||
|
|
|
@ -1,14 +1,9 @@
|
||||||
from src.util import appimage_install, get_latest_appimage_url_from_github
|
from src.util import appimage_install, get_latest_appimage_url_from_github
|
||||||
|
|
||||||
|
desc = "Reverse engineering tool with GUI"
|
||||||
name = "Cutter"
|
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
Reverse engineering tool with GUI
|
|
||||||
"""
|
|
||||||
|
|
||||||
appimage_install(
|
appimage_install(
|
||||||
get_latest_appimage_url_from_github("rizinorg/cutter"),
|
get_latest_appimage_url_from_github("rizinorg/cutter"),
|
||||||
"cutter",
|
"cutter",
|
||||||
|
|
|
@ -1,13 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "deno"
|
desc = "nodejs++"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
nodejs++
|
|
||||||
|
|
||||||
check .zshrc for bin path stuff
|
|
||||||
"""
|
|
||||||
|
|
||||||
paru_install("deno")
|
paru_install("deno")
|
||||||
|
|
|
@ -2,12 +2,10 @@ from src.util import paru_install
|
||||||
from getpass import getuser
|
from getpass import getuser
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "Docker"
|
desc = "Not a VM (TM)"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Not a VM"""
|
|
||||||
|
|
||||||
paru_install("docker")
|
paru_install("docker")
|
||||||
|
|
||||||
system(f'sudo usermod -aG docker "{getuser()}"')
|
system(f'sudo usermod -aG docker "{getuser()}"')
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = ".NET"
|
desc = "The Microsoft Java"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Microsoft java"""
|
|
||||||
|
|
||||||
paru_install("dotnet-sdk")
|
paru_install("dotnet-sdk")
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "git"
|
desc = "The thing everyone pretends they know how it works"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""What's a branch?"""
|
|
||||||
|
|
||||||
paru_install("git")
|
paru_install("git")
|
||||||
|
|
||||||
system('git config --global user.email "developomp@gmail.com"')
|
system('git config --global user.email "developomp@gmail.com"')
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "go"
|
desc = "Goofy ah language that's popular for some reason"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Golang stuff"""
|
|
||||||
|
|
||||||
paru_install("go")
|
paru_install("go")
|
||||||
|
|
|
@ -1,13 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Godot"
|
desc = "FOSS game engine"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
MIT licensed game engine
|
|
||||||
|
|
||||||
check .zshrc for path stuff
|
|
||||||
"""
|
|
||||||
|
|
||||||
flatpak_install("org.godotengine.Godot")
|
flatpak_install("org.godotengine.Godot")
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "JDK"
|
desc = "Java development kit"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
paru_install(
|
||||||
Java development kit
|
[
|
||||||
|
"jdk-openjdk", # latest jdk (17 as of writing)
|
||||||
|
"jdk8-openjdk", # jdk8
|
||||||
jdk-openjdk: latest jdk (17 as of writing)
|
"jdk11-openjdk", # jdk11
|
||||||
jdk8-openjdk: jdk8
|
]
|
||||||
jdk11-openjdk: jdk11
|
)
|
||||||
"""
|
|
||||||
|
|
||||||
paru_install(["jdk-openjdk", "jdk8-openjdk", "jdk11-openjdk"])
|
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
from src.util import paru_install, copy_file
|
from src.util import paru_install, copy_file
|
||||||
|
|
||||||
name = "Terminal"
|
desc = "fastest terminal"
|
||||||
|
|
||||||
|
|
||||||
def setup() -> None:
|
def setup() -> None:
|
||||||
"""install and configure the kitty terminal"""
|
|
||||||
|
|
||||||
paru_install(["kitty", "kitty-shell-integration"])
|
paru_install(["kitty", "kitty-shell-integration"])
|
||||||
|
|
||||||
# copy configuration file
|
# copy configuration file
|
|
@ -6,20 +6,10 @@ from src.log import log
|
||||||
from os.path import isdir
|
from os.path import isdir
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "node"
|
desc = "Javascript everywhere!"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
Javascript outside of browsers!
|
|
||||||
|
|
||||||
https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
|
|
||||||
|
|
||||||
nvm: NodejS version manager
|
|
||||||
pnpm: better node package manager
|
|
||||||
yarn: better node package manager
|
|
||||||
"""
|
|
||||||
|
|
||||||
# Install zsh if it's not installed already
|
# Install zsh if it's not installed already
|
||||||
if not command_exists("zsh"):
|
if not command_exists("zsh"):
|
||||||
zsh.setup()
|
zsh.setup()
|
||||||
|
|
|
@ -2,11 +2,9 @@ from src.util import paru_install
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
|
|
||||||
name = "rust"
|
desc = "C++ but modern"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""C++ but modern"""
|
|
||||||
|
|
||||||
paru_install(["rustup", "rust-analyzer"])
|
paru_install(["rustup", "rust-analyzer"])
|
||||||
system("rustup install stable")
|
system("rustup install stable")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "traceroute"
|
desc = "packet route viewer"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""packet route tracker"""
|
|
||||||
|
|
||||||
paru_install("traceroute")
|
paru_install("traceroute")
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Unity hub"
|
desc = "Unity version manager"
|
||||||
post_install = ["Change editors location"]
|
post_install = ["Change editors location"]
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Unity hub"""
|
|
||||||
|
|
||||||
flatpak_install("com.unity.UnityHub")
|
flatpak_install("com.unity.UnityHub")
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "virtualbox"
|
desc = "containerized OS"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""It's a computer inside a computer!"""
|
|
||||||
|
|
||||||
paru_install(
|
paru_install(
|
||||||
[
|
[
|
||||||
"virtualbox",
|
"virtualbox",
|
||||||
|
|
|
@ -2,7 +2,7 @@ from src.util import paru_install, copy_file
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
|
|
||||||
name = "Vscodium"
|
desc = "vscode without spyware"
|
||||||
|
|
||||||
|
|
||||||
EXTENSIONS = (
|
EXTENSIONS = (
|
||||||
|
@ -45,8 +45,6 @@ EXTENSIONS = (
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""vscode without microsoft"""
|
|
||||||
|
|
||||||
paru_install("vscodium-bin")
|
paru_install("vscodium-bin")
|
||||||
|
|
||||||
# codium --list-extensions
|
# codium --list-extensions
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Wireshark"
|
desc = "network analyzer"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""network protocol analyzer GUI"""
|
|
||||||
|
|
||||||
flatpak_install("org.wireshark.Wireshark")
|
flatpak_install("org.wireshark.Wireshark")
|
||||||
|
|
|
@ -9,7 +9,7 @@ from src.setup.system import system76_scheduler
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
|
|
||||||
name = "osu!lazer"
|
desc = "A circle-clicking rhythm game."
|
||||||
post_install = ["Install osu! skin from https://github.com/developomp/osu-pomp-skin"]
|
post_install = ["Install osu! skin from https://github.com/developomp/osu-pomp-skin"]
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,10 +44,6 @@ def setup_open_tablet_driver():
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
A circle-clicking rhythm game.
|
|
||||||
"""
|
|
||||||
|
|
||||||
# install the game
|
# install the game
|
||||||
appimage_install(
|
appimage_install(
|
||||||
get_latest_appimage_url_from_github("ppy/osu"),
|
get_latest_appimage_url_from_github("ppy/osu"),
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "steam"
|
desc = "steam game downloader & launcher"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Game launcher"""
|
|
||||||
|
|
||||||
flatpak_install("com.valvesoftware.Steam")
|
flatpak_install("com.valvesoftware.Steam")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Baobab"
|
desc = "Disk usage analysis tool"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Storage usage analysis tool"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.baobab")
|
flatpak_install("org.gnome.baobab")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "GNOME Calculator"
|
desc = "GNOME Calculator"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""For calculating stuff"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.Calculator")
|
flatpak_install("org.gnome.Calculator")
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
from src.util import paru_install
|
|
||||||
|
|
||||||
name = "Calendar"
|
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
|
||||||
"""GNOME calendar"""
|
|
||||||
|
|
||||||
# not using the flatpak version because it doesn't integrate well with the GNOME shell
|
|
||||||
paru_install("gnome-calendar")
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "GNOME Characters"
|
desc = "GNOME character browser"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Browser for emojis, special characters, and symbols."""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.Characters")
|
flatpak_install("org.gnome.Characters")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "cheese"
|
desc = "GNOME photo taking utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""photo/video utility"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.Cheese")
|
flatpak_install("org.gnome.Cheese")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "GNOME Clocks"
|
desc = "GNOME time management utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""For managing multiple time zone clocks."""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.clocks")
|
flatpak_install("org.gnome.clocks")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "GNOME Disk Utility"
|
desc = "GNOME Disk Utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Disk management utility"""
|
|
||||||
|
|
||||||
paru_install("gnome-disk-utility")
|
paru_install("gnome-disk-utility")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "file roller"
|
desc = "GNOME compression & decompression utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""compression & decompression utility"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.FileRoller")
|
flatpak_install("org.gnome.FileRoller")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "GNOME Font Viewer"
|
desc = "GNOME font viewing utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""GNOME font viewing utility"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.font-viewer")
|
flatpak_install("org.gnome.font-viewer")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "GNOME extension manager"
|
desc = "GNOME extension manager without using browsers"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""GNOME extension manager without using browsers"""
|
|
||||||
|
|
||||||
flatpak_install("com.mattjakeman.ExtensionManager")
|
flatpak_install("com.mattjakeman.ExtensionManager")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "eye of gnome"
|
desc = "GNOME image viewing utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""photo viewing utility"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.eog")
|
flatpak_install("org.gnome.eog")
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
from src.util import paru_install, load_dconf, command_exists
|
from src.util import paru_install, load_dconf, command_exists
|
||||||
from src.setup.dev import terminal
|
from src.setup.dev import kitty
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "Nautilus"
|
desc = "GNOME file manager"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""File viewer for GNOME"""
|
|
||||||
|
|
||||||
paru_install(
|
paru_install(
|
||||||
[
|
[
|
||||||
"nautilus",
|
"nautilus",
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "GNOME Control Center"
|
desc = "GNOME configuration utility"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""The GNOME configuration utility"""
|
|
||||||
|
|
||||||
paru_install("gnome-control-center")
|
paru_install("gnome-control-center")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "GNOME Tweaks"
|
desc = "Extra settings for GNOME"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Extra settings for GNOME"""
|
|
||||||
|
|
||||||
paru_install("gnome-tweaks")
|
paru_install("gnome-tweaks")
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
from src.util import flatpak_install
|
from src.util import flatpak_install
|
||||||
|
|
||||||
name = "Video player"
|
desc = "Video player"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""GNOME video player"""
|
|
||||||
|
|
||||||
flatpak_install("org.gnome.Totem")
|
flatpak_install("org.gnome.Totem")
|
||||||
|
|
|
@ -6,7 +6,7 @@ from os.path import exists, basename
|
||||||
import requests
|
import requests
|
||||||
import glob
|
import glob
|
||||||
|
|
||||||
name = "fonts"
|
desc = "Like... they're fonts"
|
||||||
|
|
||||||
# path to temporarily save font related files
|
# path to temporarily save font related files
|
||||||
TMP_FONTS_DIRECTORY = f"{tmp_dir}/tmp/fonts"
|
TMP_FONTS_DIRECTORY = f"{tmp_dir}/tmp/fonts"
|
||||||
|
@ -30,21 +30,12 @@ FONT_INSTALL_DIR = f"{home_dir}/.local/share/fonts"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
System fonts
|
|
||||||
|
|
||||||
adobe-source-han-sans-kr-fonts: Korean font
|
|
||||||
ttf-baekmuk: Korean font
|
|
||||||
unicode-emoji: Colorful emojis
|
|
||||||
ttf-iosevka-nerd: Terminal font
|
|
||||||
"""
|
|
||||||
|
|
||||||
paru_install(
|
paru_install(
|
||||||
[
|
[
|
||||||
"adobe-source-han-sans-kr-fonts",
|
"adobe-source-han-sans-kr-fonts", # Korean font
|
||||||
"ttf-baekmuk",
|
"ttf-baekmuk", # Korean font
|
||||||
"unicode-emoji",
|
"unicode-emoji", # Colorful emoji
|
||||||
"ttf-iosevka-nerd",
|
"ttf-iosevka-nerd", # Terminal font
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "fstab"
|
desc = "adds /home/pomp to fstab"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""adds /home/pomp drive to fstab"""
|
|
||||||
|
|
||||||
fstab_path = "/etc/fstab"
|
fstab_path = "/etc/fstab"
|
||||||
|
|
||||||
# check if /home/pomp exists already
|
# check if /home/pomp exists already
|
||||||
|
|
|
@ -3,7 +3,7 @@ from src.log import log
|
||||||
|
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "GNOME extensions"
|
desc = "GNOME extensions"
|
||||||
post_install = ["Restart GNOME shell", "enable GNOME extensions"]
|
post_install = ["Restart GNOME shell", "enable GNOME extensions"]
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,21 +18,13 @@ EXTENSIONS = (
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""
|
|
||||||
Extensions for the GNOME Desktop environment
|
|
||||||
|
|
||||||
Intentionally left out chrome-gnome-shell because I won't be using browsers to install GNOME extensions.
|
|
||||||
|
|
||||||
gnome-shell-extension-installer: gnome extension installer CLI
|
|
||||||
gnome-shell-extension-pop-shell-git: window tiling extension
|
|
||||||
"""
|
|
||||||
|
|
||||||
paru_install(
|
paru_install(
|
||||||
[
|
[
|
||||||
"gnome-shell-extension-installer",
|
# Intentionally left out chrome-gnome-shell because I'm not using browsers to install GNOME extensions
|
||||||
|
"gnome-shell-extension-installer", # gnome extension installer CLI
|
||||||
# not using gnome-shell-extension-pop-shell because it builds from source too anyway
|
# not using gnome-shell-extension-pop-shell because it builds from source too anyway
|
||||||
# not using gnome-shell-extension-pop-shell-bin because it's unmaintained
|
# not using gnome-shell-extension-pop-shell-bin because it's unmaintained
|
||||||
"gnome-shell-extension-pop-shell-git",
|
"gnome-shell-extension-pop-shell-git", # window tiling extension
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
from src.util import paru_install
|
from src.util import paru_install
|
||||||
|
|
||||||
name = "middle click paste"
|
desc = "Prevents middle click paste"
|
||||||
post_install = ["restart"]
|
post_install = ["restart"]
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Prevents middle click paste"""
|
|
||||||
|
|
||||||
paru_install("xmousepasteblock-git")
|
paru_install("xmousepasteblock-git")
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
from src.util import copy_file, command_exists
|
from src.util import copy_file, command_exists
|
||||||
from src.constants import tmp_dir
|
from src.constants import tmp_dir
|
||||||
|
|
||||||
name = "pomky"
|
desc = "conky but rusty"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""conky but rusty"""
|
|
||||||
|
|
||||||
if not command_exists("pomky"):
|
if not command_exists("pomky"):
|
||||||
system(
|
system(
|
||||||
f"git clone --depth 1 https://github.com/developomp/pomky {tmp_dir}/pomky"
|
f"git clone --depth 1 https://github.com/developomp/pomky {tmp_dir}/pomky"
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
from src.util import paru_install, copy_file
|
from src.util import paru_install, copy_file
|
||||||
|
|
||||||
|
|
||||||
name = "system76 scheduler"
|
desc = "Process priority optimizer"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Process priority optimizer"""
|
|
||||||
|
|
||||||
# using the git version because "system76-scheduler" builds from source too anyway
|
# using the git version because "system76-scheduler" builds from source too anyway
|
||||||
paru_install("system76-scheduler-git")
|
paru_install("system76-scheduler-git")
|
||||||
copy_file(
|
copy_file(
|
||||||
|
|
|
@ -5,12 +5,10 @@ from src.log import log
|
||||||
from os.path import isdir
|
from os.path import isdir
|
||||||
from os import system
|
from os import system
|
||||||
|
|
||||||
name = "Zsh"
|
desc = "bash+++"
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
"""Objectively better shell"""
|
|
||||||
|
|
||||||
paru_install("zsh")
|
paru_install("zsh")
|
||||||
|
|
||||||
log("Installing Oh My Zsh")
|
log("Installing Oh My Zsh")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue