aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'env/.local/bin')
-rwxr-xr-xenv/.local/bin/scripts/autoport_mc.sh2
-rwxr-xr-xenv/.local/bin/scripts/dmount2
-rwxr-xr-xenv/.local/bin/scripts/fzf-thumb2
-rwxr-xr-xenv/.local/bin/scripts/gen-thumb-md2
-rwxr-xr-xenv/.local/bin/scripts/math2
-rwxr-xr-xenv/.local/bin/scripts/output-audio-switcher3
-rwxr-xr-xenv/.local/bin/system/kaomoji-picker.sh2
-rwxr-xr-xenv/.local/bin/system/neoboot.sh2
-rwxr-xr-xenv/.local/bin/system/start-scripts/autostart.sh16
-rwxr-xr-xenv/.local/bin/system/start-scripts/lessons-loop.sh2
-rwxr-xr-xenv/.local/bin/system/start-scripts/newsboat-fetch.sh2
-rwxr-xr-xenv/.local/bin/system/url-handler.sh2
12 files changed, 12 insertions, 27 deletions
diff --git a/env/.local/bin/scripts/autoport_mc.sh b/env/.local/bin/scripts/autoport_mc.sh
index 8ccf0b0..5cad216 100755
--- a/env/.local/bin/scripts/autoport_mc.sh
+++ b/env/.local/bin/scripts/autoport_mc.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# this finds the log file from a picked instance using rofi. then fords traffic thorugh 25565
if [ -z "$LOG_FILE" ]; then
diff --git a/env/.local/bin/scripts/dmount b/env/.local/bin/scripts/dmount
index 6a3415c..d33fa27 100755
--- a/env/.local/bin/scripts/dmount
+++ b/env/.local/bin/scripts/dmount
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
sudo="sudo"
[ doas ] && sudo="doas"
diff --git a/env/.local/bin/scripts/fzf-thumb b/env/.local/bin/scripts/fzf-thumb
index 57f4025..7882726 100755
--- a/env/.local/bin/scripts/fzf-thumb
+++ b/env/.local/bin/scripts/fzf-thumb
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
FZF_PREVIEW_LINES=50
FZF_PREVIEW_COLUMN=50
diff --git a/env/.local/bin/scripts/gen-thumb-md b/env/.local/bin/scripts/gen-thumb-md
index 90b9189..d28378a 100755
--- a/env/.local/bin/scripts/gen-thumb-md
+++ b/env/.local/bin/scripts/gen-thumb-md
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
disable_thumb_gen=0
diff --git a/env/.local/bin/scripts/math b/env/.local/bin/scripts/math
index 26d4854..9c9b305 100755
--- a/env/.local/bin/scripts/math
+++ b/env/.local/bin/scripts/math
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
expression=$1
precision=$2
diff --git a/env/.local/bin/scripts/output-audio-switcher b/env/.local/bin/scripts/output-audio-switcher
index 1a7592c..8f836d5 100755
--- a/env/.local/bin/scripts/output-audio-switcher
+++ b/env/.local/bin/scripts/output-audio-switcher
@@ -1,3 +1,2 @@
-#!/bin/bash
-
+#!/bin/sh
pactl set-default-sink "$(pactl list short sinks | awk '{print $2}' | rofi -dmenu -p "Output:")" && notify-send "Audio switched!" || exit 0
diff --git a/env/.local/bin/system/kaomoji-picker.sh b/env/.local/bin/system/kaomoji-picker.sh
index 6def151..a59e3c7 100755
--- a/env/.local/bin/system/kaomoji-picker.sh
+++ b/env/.local/bin/system/kaomoji-picker.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# set up to work with https://github.com/Aptivi-Analytics/KaomojiList.git
diff --git a/env/.local/bin/system/neoboot.sh b/env/.local/bin/system/neoboot.sh
index afe9345..4c12be8 100755
--- a/env/.local/bin/system/neoboot.sh
+++ b/env/.local/bin/system/neoboot.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
normal_old() {
randnum=$(($RANDOM % 2))
diff --git a/env/.local/bin/system/start-scripts/autostart.sh b/env/.local/bin/system/start-scripts/autostart.sh
index 77abff4..492bd76 100755
--- a/env/.local/bin/system/start-scripts/autostart.sh
+++ b/env/.local/bin/system/start-scripts/autostart.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
cd "$(dirname "$0")"
sleep 0.1
@@ -22,12 +22,6 @@ fi
# # ~/stuff/scripts/system/stbar/stbar.sh &
# fi
-# added openrc services... may go back to this later
-# pipewire & disown
-# if [ -z "$(pgrep wireplumber)" ]; then
-# wireplumber & disown
-# fi
-# pipewire-pulse & disown
sleep 0.5s
if [ "$WAYLAND_DISPLAY" ] && [ -z "$(pgrep -f waybar)" ]; then
@@ -48,14 +42,6 @@ if [ -z "$(pgrep wezterm)" ]; then
wezterm -e ~/.local/bin/system/task.sh &
fi
-# openrc or something is being weird. tmp fix until this gets patched or whatever
-mkdir touch /run/user/1000/openrc
-touch /run/user/1000/openrc/softlevel
-rc-service --user pipewire start
-rc-service --user wireplumber start
-rc-service --user pipewire-pulse start
-
-
if [ "$(cat /etc/hostname)" == "Kasino" ]; then
if [ -z "$(pgrep vesktop)" ]; then
vesktop %U & disown
diff --git a/env/.local/bin/system/start-scripts/lessons-loop.sh b/env/.local/bin/system/start-scripts/lessons-loop.sh
index bbff617..4304219 100755
--- a/env/.local/bin/system/start-scripts/lessons-loop.sh
+++ b/env/.local/bin/system/start-scripts/lessons-loop.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
newsboat_loop(){
notify-send -t 6000 -i '/home/iceyrazor/stuff/media/saved gifs/duolingo-crop-s.jpg' "Anki" "did you do your japanese lessons today?"
sleep 1h
diff --git a/env/.local/bin/system/start-scripts/newsboat-fetch.sh b/env/.local/bin/system/start-scripts/newsboat-fetch.sh
index 175ad13..06b08d9 100755
--- a/env/.local/bin/system/start-scripts/newsboat-fetch.sh
+++ b/env/.local/bin/system/start-scripts/newsboat-fetch.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
newsboat_loop(){
NO_PROXY=\".com,.org,.xyz,.chat,.social,.net,.co,.love\" newsboat -x reload
#newsboat -x print-unread | xargs -0 notify-send "newsboat feed"
diff --git a/env/.local/bin/system/url-handler.sh b/env/.local/bin/system/url-handler.sh
index 54f4af4..d7be722 100755
--- a/env/.local/bin/system/url-handler.sh
+++ b/env/.local/bin/system/url-handler.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
url=$@
prompt_message="Open with:"