Remove unused scripts.

This commit is contained in:
Viyurz 2024-07-30 13:16:36 +02:00
parent 9017ab0ca2
commit b1d97ce814
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
6 changed files with 0 additions and 85 deletions

View file

@ -79,10 +79,6 @@ bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPrev, exec, playerctl previous
# Foobar2000
bind = CTRL, up, exec, $HOME/.scripts/foobar2000.sh -vu
bind = CTRL, down, exec, $HOME/.scripts/foobar2000.sh -vd
# Theme
bind = $mainMod, W, exec, $HOME/.scripts/theme-changer.sh album sfw
bind = $mainMod SHIFT, W, exec, $HOME/.scripts/theme-changer.sh album hypr

View file

@ -41,6 +41,3 @@ exec-once = udiskie
# XWayland
exec-once = xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
# Prevent hidden Wine System Tray window from keeping workspace existing
#exec-once = $HOME/.scripts/kill-wine-explorer.sh

View file

@ -1,25 +0,0 @@
#!/bin/sh
# Required: foo_runcmd
export WINEPREFIX="$HOME/.local/share/wineprefixes/foobar2000"
foobar2000_cmd="$HOME/.foobar2000/foobar2000.exe"
function foo_runcmd {
if pgrep foobar2000.exe &> /dev/null; then
wine "$foobar2000_cmd" "${@}" &> /dev/null
fi
}
case "$1" in
-vu|volume-up)
foo_runcmd '/runcmd=Playback/Volume/Up';;
-vd|volume-down)
foo_runcmd '/runcmd=Playback/Volume/Down';;
*)
echo "Invalid option."
exit 1;;
esac

View file

@ -1,32 +0,0 @@
#!/bin/sh
source "$HOME/.cache/colors.sh"
options=(
--insidever-color=#00000000
--ringver-color=$good
--insidewrong-color=#00000000
--ringwrong-color=$bad
--inside-color=00000000
--ring-color=$accent1
--line-color=00000000
--separator-color=00000000
--verif-color=$foreground
--wrong-color=$foreground
--time-color=$foreground
--date-color=$foreground
--layout-color=$foreground
--keyhl-color=$foreground
--bshl-color=$disabled
--screen 1
--clock
--indicator
--time-str="%H:%M:%S"
--date-str="%A, %Y-%m-%d"
--keylayout 1
--image "$HOME/.cache/wallpaper-blurred.jpg"
)
i3lock "${options[@]}"
sw -r

View file

@ -1,6 +0,0 @@
#!/bin/sh
while true; do
killall -9 explorer.exe &> /dev/null
sleep 5
done

View file

@ -1,15 +0,0 @@
#!/bin/bash
declare -A playlists=(
[V1]='https://www.youtube.com/playlist?list=PLhe0fcbtmXgH05vjUb9aXib59PEpx1r7W'
)
playlist_url="${playlists[$1]}"
if [ -z "$playlist_url" ]; then
echo "Bad playlist name."
exit 1
fi
pkill -9 -u "$USER" mpv > /dev/null
hyprctl dispatch exec "mpv '$playlist_url' --no-video --shuffle"