fix: add missing packages
This commit is contained in:
parent
4063a91bc4
commit
1fa3dea1b9
4 changed files with 50 additions and 49 deletions
93
config.toml
93
config.toml
|
|
@ -32,65 +32,61 @@ headless = [
|
||||||
"pipx",
|
"pipx",
|
||||||
"golang",
|
"golang",
|
||||||
"rustup",
|
"rustup",
|
||||||
|
"latexmk",
|
||||||
|
"luarocks",
|
||||||
|
"cliphist",
|
||||||
|
"neovim",
|
||||||
]
|
]
|
||||||
|
|
||||||
non_headless = [
|
non_headless = [
|
||||||
"discord",
|
"discord",
|
||||||
"flameshot",
|
"flameshot",
|
||||||
"fuzzel",
|
"fuzzel",
|
||||||
"google-chrome",
|
"google-chrome",
|
||||||
"hyprcursor",
|
"hyprcursor",
|
||||||
"hypridle",
|
"hypridle",
|
||||||
"hyprland",
|
"hyprland",
|
||||||
"hyprland-qtutils",
|
"hyprland-qtutils",
|
||||||
"hyprlock",
|
"hyprlock",
|
||||||
"hyprpaper",
|
"hyprpaper",
|
||||||
"hyprutils",
|
"hyprutils",
|
||||||
"kitty",
|
"kitty",
|
||||||
"mako",
|
"mako",
|
||||||
"mpv",
|
"mpv",
|
||||||
"neovide",
|
"neovide",
|
||||||
"pidgin",
|
"pidgin",
|
||||||
"remmina",
|
"remmina",
|
||||||
"spotify",
|
"spotify",
|
||||||
"thunderbird",
|
"thunderbird",
|
||||||
"thunderbird-i18n-de",
|
"thunderbird-i18n-de",
|
||||||
"virt-manager",
|
"virt-manager",
|
||||||
"vlc",
|
"vlc",
|
||||||
"waybar",
|
"waybar",
|
||||||
"xdg-desktop-portal-hyprland",
|
"xdg-desktop-portal-hyprland",
|
||||||
"zathura",
|
"zathura",
|
||||||
"zathura-mu-pdf",
|
"zathura-pdf-mupdf",
|
||||||
"zoom",
|
"zoom",
|
||||||
"zotero",
|
"zotero",
|
||||||
"android-studio"
|
"android-studio",
|
||||||
]
|
]
|
||||||
|
|
||||||
[special_packages]
|
[special_packages]
|
||||||
go = [
|
go = [
|
||||||
"github.com/jesseduffield/lazygit",
|
"github.com/jesseduffield/lazygit",
|
||||||
"github.com/stefanlogue/meteor",
|
"github.com/stefanlogue/meteor",
|
||||||
"golang.org/x/tools/gopls",
|
"golang.org/x/tools/gopls",
|
||||||
"github.com/go-delve/delve/cmd/dlv",
|
"github.com/go-delve/delve/cmd/dlv",
|
||||||
"github.com/air-verse/air"
|
"github.com/air-verse/air",
|
||||||
]
|
]
|
||||||
|
|
||||||
cargo = [
|
cargo = ["git-cliff", "bottom", "typst-cli"]
|
||||||
"git-cliff",
|
|
||||||
"bottom",
|
|
||||||
"typst-cli",
|
|
||||||
]
|
|
||||||
|
|
||||||
pipx = [
|
pipx = ["harlequin", "posting", "euporie"]
|
||||||
# "harlequin",
|
|
||||||
# "posting",
|
|
||||||
# "euporie",
|
|
||||||
]
|
|
||||||
|
|
||||||
[flatpak]
|
[flatpak]
|
||||||
enable = false
|
enable = true
|
||||||
remotes = [
|
remotes = [
|
||||||
{ name = "flathub", url = "https://flathub.org/repo/flathub.flatpakrepo" }
|
{ name = "flathub", url = "https://flathub.org/repo/flathub.flatpakrepo" },
|
||||||
]
|
]
|
||||||
packages = [
|
packages = [
|
||||||
"com.spotify.Client",
|
"com.spotify.Client",
|
||||||
|
|
@ -99,8 +95,9 @@ packages = [
|
||||||
"com.google.AndroidStudio",
|
"com.google.AndroidStudio",
|
||||||
"io.freetubeapp.FreeTube",
|
"io.freetubeapp.FreeTube",
|
||||||
"com.discordapp.Discord",
|
"com.discordapp.Discord",
|
||||||
|
"com.nextcloud.desktopclient.nextcloud",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dotfiles]
|
[dotfiles]
|
||||||
enable = false
|
enable = true
|
||||||
git_repo = "https://github.com/username/dotfiles.git"
|
git_repo = "https://codeberg.org/Pata1704/dotfiles.git"
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ func setupDotfiles(config DotfilesConfig) error {
|
||||||
dotfilesDir := filepath.Join(os.Getenv("HOME"), "dotfiles")
|
dotfilesDir := filepath.Join(os.Getenv("HOME"), "dotfiles")
|
||||||
|
|
||||||
cmd := exec.Command("git", "clone", config.GitRepo)
|
cmd := exec.Command("git", "clone", config.GitRepo)
|
||||||
|
// cmd := exec.Command("git", "clone", config.GitRepo, dotfilesDir)
|
||||||
if err := cmd.Run(); err != nil {
|
if err := cmd.Run(); err != nil {
|
||||||
return fmt.Errorf("Fehler beim Klonen der Dotfiles: %v", err)
|
return fmt.Errorf("Fehler beim Klonen der Dotfiles: %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
model.go
1
model.go
|
|
@ -90,6 +90,7 @@ func (m model) Init() tea.Cmd {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
|
tea.EnterAltScreen()
|
||||||
switch msg := msg.(type) {
|
switch msg := msg.(type) {
|
||||||
case tea.WindowSizeMsg:
|
case tea.WindowSizeMsg:
|
||||||
m.width, m.height = msg.Width, msg.Height
|
m.width, m.height = msg.Width, msg.Height
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,9 @@ func (m specialSoftwareModel) installItemCmd(item string) tea.Cmd {
|
||||||
}
|
}
|
||||||
case "rust":
|
case "rust":
|
||||||
if _, err := exec.LookPath("rustc"); err == nil {
|
if _, err := exec.LookPath("rustc"); err == nil {
|
||||||
return installedItemMsg(item)
|
if _, err := exec.LookPath("cargo"); err == nil {
|
||||||
|
return installedItemMsg(item)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
rustupCommand := "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y"
|
rustupCommand := "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y"
|
||||||
if err := installPackage(rustupCommand, "", ""); err != nil {
|
if err := installPackage(rustupCommand, "", ""); err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue