mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
add superslicer, improve github release downloading, and some small edits
This commit is contained in:
parent
1b6f987b49
commit
6d42425385
6
home/dot_local/share/applications/SuperSlicer.desktop
Normal file
6
home/dot_local/share/applications/SuperSlicer.desktop
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=SuperSlicer
|
||||||
|
Comment=SuperSlicer
|
||||||
|
Exec=/usr/local/bin/SuperSlicer
|
||||||
|
Terminal=false
|
@ -1,4 +1,4 @@
|
|||||||
- name: Install desktop dnf packages
|
- name: Install desktop void packages
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- xorg # X.org meta-package
|
- xorg # X.org meta-package
|
||||||
@ -27,7 +27,6 @@
|
|||||||
- xsel # Command-line getting and setting the contents of the X selection
|
- xsel # Command-line getting and setting the contents of the X selection
|
||||||
- clipmenu # Clipboard management using dmenu
|
- clipmenu # Clipboard management using dmenu
|
||||||
- nerd-fonts # Iconic font aggregator, collection and patcher
|
- nerd-fonts # Iconic font aggregator, collection and patcher
|
||||||
- PrusaSlicer # PrusaSlicer-2.4.2_2 G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
|
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -47,4 +46,3 @@
|
|||||||
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- name: Install development dnf packages
|
- name: Install development void packages
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- python3 # Python programming language (3.11 series)
|
- python3 # Python programming language (3.11 series)
|
||||||
|
2
provision/tasks/engineering/_main.yml
Normal file
2
provision/tasks/engineering/_main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
- import_tasks: packages.yml
|
||||||
|
tags: ["packages"]
|
8
provision/tasks/engineering/packages.yml
Normal file
8
provision/tasks/engineering/packages.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
- name: Install engineering void packages
|
||||||
|
xbps:
|
||||||
|
name:
|
||||||
|
- freecad # General purpose 3D CAD modeler
|
||||||
|
state: present
|
||||||
|
become: true
|
||||||
|
|
||||||
|
- include_tasks: superslicer.yml # PrusaSlicer fork (which is a slic3r fork)
|
6
provision/tasks/engineering/superslicer.yml
Normal file
6
provision/tasks/engineering/superslicer.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- name: Install SuperSlicer
|
||||||
|
include_tasks: ../include/download-github-bin.yml
|
||||||
|
loop:
|
||||||
|
- user: supermerill
|
||||||
|
repo: SuperSlicer
|
||||||
|
regex: "SuperSlicer-ubuntu_18.04-[0-9]"
|
@ -1,4 +1,4 @@
|
|||||||
- name: Install gaming dnf packages
|
- name: Install gaming void packages
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- libdrm-32bit # Userspace interface to kernel DRM services (32bit)
|
- libdrm-32bit # Userspace interface to kernel DRM services (32bit)
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
return_content: true
|
return_content: true
|
||||||
register: repo_latest
|
register: repo_latest
|
||||||
|
|
||||||
- name: Install {{ item.repo }} - {{ repo_latest.json.tag_name }}
|
- name: Install archived {{ item.repo }} - {{ repo_latest.json.tag_name }}
|
||||||
loop: "{{ repo_latest.json.assets }}"
|
loop: "{{ repo_latest.json.assets }}"
|
||||||
when: "item.match in asset.name"
|
when: "asset.name is regex(item.regex)"
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ asset.browser_download_url }}"
|
src: "{{ asset.browser_download_url }}"
|
||||||
dest: /usr/local/bin
|
dest: /usr/local/bin
|
16
provision/tasks/include/download-github-bin.yml
Normal file
16
provision/tasks/include/download-github-bin.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
- name: Get {{ item.repo }} release information
|
||||||
|
uri:
|
||||||
|
url: https://api.github.com/repos/{{ item.user }}/{{ item.repo }}/releases/latest
|
||||||
|
return_content: true
|
||||||
|
register: repo_latest
|
||||||
|
|
||||||
|
- name: Install un-archived {{ item.repo }} - {{ repo_latest.json.tag_name }}
|
||||||
|
loop: "{{ repo_latest.json.assets }}"
|
||||||
|
when: "asset.name is regex(item.regex)"
|
||||||
|
get_url:
|
||||||
|
url: "{{ asset.browser_download_url }}"
|
||||||
|
dest: /usr/local/bin/{{ item.repo }}
|
||||||
|
mode: 0775
|
||||||
|
loop_control:
|
||||||
|
loop_var: asset
|
||||||
|
become: true
|
@ -1,4 +1,4 @@
|
|||||||
- name: Install system repos
|
- name: Install system void repos
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- void-repo-multilib # Void Linux drop-in file for the multilib repository
|
- void-repo-multilib # Void Linux drop-in file for the multilib repository
|
||||||
@ -7,7 +7,7 @@
|
|||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install system dnf packages
|
- name: Install system void packages
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- git # Fast Version Control System
|
- git # Fast Version Control System
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- name: Install terminal dnf packages
|
- name: Install terminal void packages
|
||||||
xbps:
|
xbps:
|
||||||
name:
|
name:
|
||||||
- neovim # Vim-fork focused on extensibility and agility
|
- neovim # Vim-fork focused on extensibility and agility
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
- name: Install taskwarrior-tui
|
- name: Install taskwarrior-tui
|
||||||
include_tasks: ../include/download-github.yml
|
include_tasks: ../include/download-github-archive.yml
|
||||||
loop:
|
loop:
|
||||||
- user: kdheepak
|
- user: kdheepak
|
||||||
repo: taskwarrior-tui
|
repo: taskwarrior-tui
|
||||||
match: unknown-linux-gnu.tar.gz
|
regex: unknown-linux-gnu.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user