mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 10:26:06 -07:00
remove and edit local bins
This commit is contained in:
parent
639c6a37af
commit
3443b0600b
@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
# https://github.com/starr-dusT/dotfiles
|
||||
|
||||
# Install cadquery
|
||||
sudo pacman -S python python-pip
|
||||
pip install cadquery --break-system-packages
|
||||
curl -LO https://github.com/CadQuery/CQ-editor/releases/download/nightly/CQ-editor-master-Linux-x86_64.sh
|
||||
sh CQ-editor-master-Linux-x86_64.sh
|
||||
rm CQ-editor-master-Linux-x86_64.sh
|
||||
|
||||
# Install dependencies for Simplify3d
|
||||
sudo pacman -S fontconfig
|
||||
sudo pacman -S $(pacman -Ssq xcb)
|
||||
sudo pacman -S $(pacman -Ssq xorg)
|
||||
echo "The joys of using proprietary software... you need to install Simplify3d with the script from their website (https://cloud.simplify3d.com/account/downloads)"
|
@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# https://gist.github.com/nicedreams/f8d0a6373949f6d9b9583e7e1634a1c3
|
||||
|
||||
bmenu() {
|
||||
launchapp=$(IFS=':'; \
|
||||
for p in ${PATH}; \
|
||||
do find -L "${p}" -type f -executable -print 2> /dev/null; done \
|
||||
| fzf --header="Select application to launch from PATH:" \
|
||||
--multi=0 \
|
||||
--exact \
|
||||
--height="50%" \
|
||||
--preview-window="down:wrap:3")
|
||||
if [[ "${launchapp}" ]]; then
|
||||
setsid -f "${launchapp}" &> /dev/null &
|
||||
sleep .1
|
||||
fi
|
||||
}
|
||||
|
||||
bmenu "$@"
|
@ -1,16 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
tmp_dir="$HOME/tmp/$(date +'%Y%m%dT%H%M%S')"
|
||||
|
||||
mkdir -p $tmp_dir
|
||||
ls -p ~ | grep -v '^\.' \
|
||||
| grep -v 'bin' \
|
||||
| grep -v 'Desktop' \
|
||||
| grep -v 'devel' \
|
||||
| grep -v 'documents' \
|
||||
| grep -v 'media' \
|
||||
| grep -v 'mnt' \
|
||||
| grep -v 'Screenshots' \
|
||||
| grep -v 'sync' \
|
||||
| grep -v 'tmp' \
|
||||
| xargs -I {} mv ~/{} $tmp_dir
|
@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
engi_path="$HOME/mnt/engi"
|
||||
engi_path="/mnt/engi"
|
||||
|
||||
if mountpoint -q "$engi_path"; then
|
||||
echo "engi already mounted"
|
||||
exit 0
|
||||
else
|
||||
sudo mount -t cifs -o rw,uid=$(id -u $(whoami)),gid=$(id -g $(whoami)),vers=3.0,credentials=/home/tstarr/.smb //torus/private ~/mnt/engi 2>/dev/null
|
||||
sudo mount -t cifs -o rw,uid=$(id -u $(whoami)),gid=$(id -g $(whoami)),vers=3.0,credentials=/home/tstarr/.smb //torus/private "$engi_path" 2>/dev/null
|
||||
fi
|
||||
|
||||
# Check drive mounted correctly
|
||||
|
@ -63,6 +63,7 @@ in {
|
||||
|
||||
# Enable sound and handle conflict (https://github.com/Jovian-Experiments/Jovian-NixOS/issues/99)
|
||||
services.pulseaudio.enable = lib.mkForce false;
|
||||
services.gvfs.enable = true;
|
||||
|
||||
xdg.mime = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user