updated scripts for ink-os

This commit is contained in:
Solomon Laing 2021-08-25 17:44:04 +09:30
parent 5524a87b0d
commit 51e2cdc5db
19 changed files with 14 additions and 6 deletions

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# Inks Scripts
To call these mine would be largely a lie as many of them were created by [Derek Taylor](https://gitlab.com/dwt1) and [Luke Smith](https://gitlab.com/LukeSmithxyz).
The install script simply copies them to to `/usr/local/bin`.

View File

@ -3,7 +3,7 @@
default_loc=/tmp/pactl-default-sink default_loc=/tmp/pactl-default-sink
if [ ! -f "$default_loc" ] ; then if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-sink set-default-sink
fi fi
default=$(cat $default_loc) default=$(cat $default_loc)

View File

@ -3,7 +3,7 @@
default_loc=/tmp/pactl-default-source default_loc=/tmp/pactl-default-source
if [ ! -f "$default_loc" ] ; then if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-source set-default-source
fi fi
default=$(cat $default_loc) default=$(cat $default_loc)

View File

View File

@ -3,7 +3,7 @@
default_loc=/tmp/pactl-default-sink default_loc=/tmp/pactl-default-sink
if [ ! -f "$default_loc" ] ; then if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-sink set-default-sink
fi fi
default=$(cat $default_loc) default=$(cat $default_loc)

View File

@ -3,7 +3,7 @@
default_loc=/tmp/pactl-default-source default_loc=/tmp/pactl-default-source
if [ ! -f "$default_loc" ] ; then if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-source set-default-source
fi fi
default=$(cat $default_loc) default=$(cat $default_loc)

3
scripts/install.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo cp scripts/* /usr/local/bin

View File

@ -3,7 +3,7 @@
default_loc=/tmp/pactl-default-sink default_loc=/tmp/pactl-default-sink
if [ ! -f "$default_loc" ] ; then if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-card set-default-sink
fi fi
default=$(cat $default_loc) default=$(cat $default_loc)

View File

@ -3,7 +3,7 @@
default_loc=/tmp/pactl-default-source default_loc=/tmp/pactl-default-source
if [ ! -f "$default_loc" ] ; then if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-source set-default-source
fi fi
default=$(cat $default_loc) default=$(cat $default_loc)