diff --git a/config/autostart.lua b/config/autostart.lua index 9794098..1f74237 100644 --- a/config/autostart.lua +++ b/config/autostart.lua @@ -12,7 +12,7 @@ hl.on("hyprland.start", function () hl.exec_cmd("tmux new-session -d -s ydotool 'ydotoold'") hl.exec_cmd("tmux new-session -d -s ollama '/usr/bin/ollama serve'") hl.exec_cmd("tmux new-session -d -s fah 'cd ~/.local/share/fah && fah-client'") - hl.exec_cmd("tmux new-session -d -s carla 'carla -n /home/honney/Music/1Player.carxp'") + hl.exec_cmd("bash -c '~/.config/hypr/scripts/audio/1player.sh'") hl.exec_cmd("bash -c '~/.config/hypr/scripts/goxlr/goxlr-start.sh > ~/.config/hypr/scripts/goxlr/goxlr-start.log'") hl.exec_cmd("bash -c 'sleep 2 && ~/.config/hypr/scripts/wallpapers/random_wallpaper.sh > ~/.config/hypr/scripts/wallpapers/random_wallpaper.log'") diff --git a/scripts/audio/1Player.carxp b/scripts/audio/1Player.carxp index 6072b25..9a41ce2 100644 --- a/scripts/audio/1Player.carxp +++ b/scripts/audio/1Player.carxp @@ -14,518 +14,26 @@ 120 - + - LV2 - LSP Mixer x8 Stereo - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo + LADSPA + Simple Low Pass Filter + /usr/lib/ladspa/filter.so + + 1041 Yes 1 - 0x1 + 0x0 0 - Enabled - enabled - 1 + Cutoff Frequency + 0.00916666630655527 - - - 1 - Mono output - mono - 0 - - - - 2 - Output balance - bal - 0 - - - - 3 - Dry amount - dry - 1 - - - - 4 - Wet amount - wet - 1 - - - - 5 - Output gain - g_out - 1 - - - - 10 - Channel solo 1 - cs_1 - 0 - - - - 11 - Channel mute 1 - cm_1 - 0 - - - - 12 - Channel phase invert 1 - ci_1 - 0 - - - - 13 - Channel pan left 1 - cp_1l - -100 - - - - 14 - Channel pan right 1 - cp_1r - 100 - - - - 15 - Channel output balance 1 - cb_1 - 0 - - - - 16 - Channel gain 1 - cg_1 - 1 - - - - 19 - Channel solo 2 - cs_2 - 0 - - - - 20 - Channel mute 2 - cm_2 - 0 - - - - 21 - Channel phase invert 2 - ci_2 - 0 - - - - 22 - Channel pan left 2 - cp_2l - -100 - - - - 23 - Channel pan right 2 - cp_2r - 100 - - - - 24 - Channel output balance 2 - cb_2 - 0 - - - - 25 - Channel gain 2 - cg_2 - 1 - - - - 28 - Channel solo 3 - cs_3 - 0 - - - - 29 - Channel mute 3 - cm_3 - 0 - - - - 30 - Channel phase invert 3 - ci_3 - 0 - - - - 31 - Channel pan left 3 - cp_3l - -100 - - - - 32 - Channel pan right 3 - cp_3r - 100 - - - - 33 - Channel output balance 3 - cb_3 - 0 - - - - 34 - Channel gain 3 - cg_3 - 1 - - - - 37 - Channel solo 4 - cs_4 - 0 - - - - 38 - Channel mute 4 - cm_4 - 0 - - - - 39 - Channel phase invert 4 - ci_4 - 0 - - - - 40 - Channel pan left 4 - cp_4l - -100 - - - - 41 - Channel pan right 4 - cp_4r - 100 - - - - 42 - Channel output balance 4 - cb_4 - 0 - - - - 43 - Channel gain 4 - cg_4 - 1 - - - - 46 - Channel solo 5 - cs_5 - 0 - - - - 47 - Channel mute 5 - cm_5 - 0 - - - - 48 - Channel phase invert 5 - ci_5 - 0 - - - - 49 - Channel pan left 5 - cp_5l - -100 - - - - 50 - Channel pan right 5 - cp_5r - 100 - - - - 51 - Channel output balance 5 - cb_5 - 0 - - - - 52 - Channel gain 5 - cg_5 - 1 - - - - 55 - Channel solo 6 - cs_6 - 0 - - - - 56 - Channel mute 6 - cm_6 - 0 - - - - 57 - Channel phase invert 6 - ci_6 - 0 - - - - 58 - Channel pan left 6 - cp_6l - -100 - - - - 59 - Channel pan right 6 - cp_6r - 100 - - - - 60 - Channel output balance 6 - cb_6 - 0 - - - - 61 - Channel gain 6 - cg_6 - 1 - - - - 64 - Channel solo 7 - cs_7 - 0 - - - - 65 - Channel mute 7 - cm_7 - 0 - - - - 66 - Channel phase invert 7 - ci_7 - 0 - - - - 67 - Channel pan left 7 - cp_7l - -100 - - - - 68 - Channel pan right 7 - cp_7r - 100 - - - - 69 - Channel output balance 7 - cb_7 - 0 - - - - 70 - Channel gain 7 - cg_7 - 1 - - - - 73 - Channel solo 8 - cs_8 - 0 - - - - 74 - Channel mute 8 - cm_8 - 0 - - - - 75 - Channel phase invert 8 - ci_8 - 0 - - - - 76 - Channel pan left 8 - cp_8l - -100 - - - - 77 - Channel pan right 8 - cp_8r - 100 - - - - 78 - Channel output balance 8 - cb_8 - 0 - - - - 79 - Channel gain 8 - cg_8 - 1 - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#send - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#return - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_1 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_2 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_3 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_4 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_5 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_6 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_7 - - - - - http://lv2plug.in/ns/ext/atom#String - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/ports#ret_8 - - - - - http://lv2plug.in/ns/ext/atom#Object - http://lsp-plug.in/plugins/lv2/mixer_x8_stereo/preset_state - AAAAAFMAAABUAAAAAAAAAAEAAAARAAAAAAAAAAAAAABVAAAAAAAAAAQAAAAHAAAAAAAAAAAAAABWAAAAAAAAAAQAAAAHAAAAAAAAAAAAAAA= - @@ -721,50 +229,43 @@ http://lv2plug.in/ns/ext/atom#Object http://lsp-plug.in/plugins/lv2/mixer_x4_mono/preset_state - AAAAAFMAAABUAAAAAAAAAAEAAAARAAAAAAAAAAAAAABVAAAAAAAAAAQAAAAHAAAAAAAAAAAAAABWAAAAAAAAAAQAAAAHAAAAAAAAAAAAAAA= + AAAAAFUAAABWAAAAAAAAAAEAAAARAAAAAAAAAAAAAABXAAAAAAAAAAQAAAAHAAAAAAAAAAAAAABYAAAAAAAAAAQAAAAHAAAAAAAAAAAAAAA= - - - - LADSPA - Simple Low Pass Filter - /usr/lib/ladspa/filter.so - - 1041 - - - - Yes - 1 - 0x0 - - - 0 - Cutoff Frequency - 0.00916666630655527 - - - - - GoXLR Chat Mic:capture_FL - WEBRTC VoiceEngine:input_FL + GoXLR Stream Mix 1:capture_FL + Ryzen HD Audio Controller Analog Surround 5.1:playback_FL - GoXLR Chat Mic:capture_FR - WEBRTC VoiceEngine:input_FR + GoXLR Stream Mix 1:capture_FL + LSP Mixer x4 Mono:Input + + + GoXLR Stream Mix 1:capture_FL + Ryzen HD Audio Controller Analog Surround 5.1:playback_RL + + + GoXLR Stream Mix 1:capture_FR + Ryzen HD Audio Controller Analog Surround 5.1:playback_FR + + + GoXLR Stream Mix 1:capture_FR + LSP Mixer x4 Mono:Audio input 1 + + + GoXLR Stream Mix 1:capture_FR + Ryzen HD Audio Controller Analog Surround 5.1:playback_RR GoXLR 0:capture_AUX0 - Split GoXLR Broadcast Stream Mix:input_AUX0 + Split GoXLR Stream Mix 1:input_AUX0 GoXLR 0:capture_AUX1 - Split GoXLR Broadcast Stream Mix:input_AUX1 + Split GoXLR Stream Mix 1:input_AUX1 GoXLR 0:capture_AUX2 @@ -791,20 +292,28 @@ GoXLR Utility:input_FR - GoXLR Broadcast Stream Mix:capture_FL - Carla.226/LSP Mixer x8 Stereo:Audio input left 2 + Split GoXLR System:output_AUX0 + GoXLR 0:playback_AUX0 - GoXLR Broadcast Stream Mix:capture_FR - Carla.226/LSP Mixer x8 Stereo:Audio input right 2 + Split GoXLR System:output_AUX1 + GoXLR 0:playback_AUX1 - Family 17h/19h/1ah HD Audio Controller Analog Stereo:capture_FL - Carla.226/LSP Mixer x8 Stereo:Audio input left 1 + Split GoXLR Game:output_AUX2 + GoXLR 0:playback_AUX2 - Family 17h/19h/1ah HD Audio Controller Analog Stereo:capture_FR - Carla.226/LSP Mixer x8 Stereo:Audio input right 1 + Split GoXLR Game:output_AUX3 + GoXLR 0:playback_AUX3 + + + Split GoXLR Music:output_AUX6 + GoXLR 0:playback_AUX6 + + + Split GoXLR Music:output_AUX7 + GoXLR 0:playback_AUX7 Split GoXLR Sample:output_AUX8 @@ -823,52 +332,16 @@ GoXLR 0:playback_AUX5 - Split GoXLR Music:output_AUX6 - GoXLR 0:playback_AUX6 + Simple Low Pass Filter:Output + Ryzen HD Audio Controller Analog Surround 5.1:playback_LFE - Split GoXLR Music:output_AUX7 - GoXLR 0:playback_AUX7 + LSP Mixer x4 Mono:Output + Simple Low Pass Filter:Input - Split GoXLR Game:output_AUX2 - GoXLR 0:playback_AUX2 - - - Split GoXLR Game:output_AUX3 - GoXLR 0:playback_AUX3 - - - Split GoXLR System:output_AUX0 - GoXLR 0:playback_AUX0 - - - Split GoXLR System:output_AUX1 - GoXLR 0:playback_AUX1 - - - Carla.226/LSP Mixer x8 Stereo:Output L - Family 17h/19h/1ah HD Audio Controller Analog Surround 5.1:playback_FL - - - Carla.226/LSP Mixer x8 Stereo:Output L - Carla.226/LSP Mixer x4 Mono:Audio input 1 - - - Carla.226/LSP Mixer x8 Stereo:Output R - Family 17h/19h/1ah HD Audio Controller Analog Surround 5.1:playback_FR - - - Carla.226/LSP Mixer x8 Stereo:Output R - Carla.226/LSP Mixer x4 Mono:Audio input 2 - - - WEBRTC VoiceEngine:output_FL - GoXLR Chat:playback_FL - - - WEBRTC VoiceEngine:output_FR - GoXLR Chat:playback_FR + LSP Mixer x4 Mono:Output + Ryzen HD Audio Controller Analog Surround 5.1:playback_FC Floorp:output_FL @@ -878,96 +351,78 @@ Floorp:output_FR GoXLR System:playback_FR - - Carla.226/LSP Mixer x4 Mono:Output - Family 17h/19h/1ah HD Audio Controller Analog Surround 5.1:playback_FC - - - Carla.226/LSP Mixer x4 Mono:Output - Carla.226/Simple Low Pass Filter:Input - - - Carla.226/Simple Low Pass Filter:Output - Family 17h/19h/1ah HD Audio Controller Analog Surround 5.1:playback_LFE - - + GoXLR Chat Mic - + + GoXLR Stream Mix 1 + + GoXLR 0 - + GoXLR Sampler - - GoXLR Broadcast Stream Mix + + Ryzen HD Audio Controller Analog Stereo - - Family 17h/19h/1ah HD Audio Controller Analog Stereo - - - Split GoXLR Sample - - - Split GoXLR Chat - - - Split GoXLR Music - - - Split GoXLR Game - - + Split GoXLR System - - WEBRTC VoiceEngine + + Split GoXLR Game - - Floorp + + Split GoXLR Music - + + Split GoXLR Sample + + + Split GoXLR Chat + + GoXLR System - - GoXLR Sample - - - GoXLR Chat - - - GoXLR Music - - + GoXLR Game - - Family 17h/19h/1ah HD Audio Controller Analog Surround 5.1 + + GoXLR Music - - Split GoXLR Sampler + + GoXLR Sample - + + GoXLR Chat + + + Ryzen HD Audio Controller Analog Surround 5.1 + + Split GoXLR Chat Mic - - Split GoXLR Broadcast Stream Mix + + Split GoXLR Stream Mix 1 - + + Split GoXLR Sampler + + Midi-Bridge - + BLE MIDI 1 - - Carla.226/LSP Mixer x8 Stereo + + Simple Low Pass Filter - - Carla.226/LSP Mixer x4 Mono + + LSP Mixer x4 Mono - - Carla.226/Simple Low Pass Filter + + GoXLR Utility diff --git a/scripts/audio/1player.sh b/scripts/audio/1player.sh index db832e7..d7f28c5 100755 --- a/scripts/audio/1player.sh +++ b/scripts/audio/1player.sh @@ -8,4 +8,4 @@ killall carla # start new session -nohup carla -n ~/.config/hypr/scripts/audio/1Player.carxp & +tmux new-session -d -s carla '~/.config/hypr/scripts/audio/1Player.carxp' \ No newline at end of file diff --git a/scripts/audio/2player.sh b/scripts/audio/2player.sh index 568a491..dd2a333 100755 --- a/scripts/audio/2player.sh +++ b/scripts/audio/2player.sh @@ -9,4 +9,4 @@ killall carla # start new session -nohup carla -n ~/.config/hypr/scripts/audio/2Player.carxp & +tmux new-session -d -s carla '~/.config/hypr/scripts/audio/2Player.carxp' diff --git a/scripts/makropad/button04.sh b/scripts/makropad/button04.sh index 9e8e481..7a2d820 100755 --- a/scripts/makropad/button04.sh +++ b/scripts/makropad/button04.sh @@ -7,4 +7,4 @@ source "$HOME/.config/function_helper.sh" send_notification "low" "Pressed Makropad Button" "Row 1, Colums 4" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg" -~/.config/hypr/scripts/writing/todo.sh +~/.config/hypr/scripts/makropad/writing/todo.sh diff --git a/scripts/makropad/button08.sh b/scripts/makropad/button08.sh index 332bd8b..8ce2b16 100755 --- a/scripts/makropad/button08.sh +++ b/scripts/makropad/button08.sh @@ -5,4 +5,4 @@ source "$HOME/.config/function_helper.sh" send_notification "low" "Pressed Makropad Button" "Row 2, Colums 4 (08)" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg" -~/.config/hypr/scripts/writing/tmdb.sh +~/.config/hypr/scripts/makropad/writing/tmdb.sh diff --git a/scripts/writing/tmdb-debug.sh b/scripts/makropad/writing/tmdb-debug.sh similarity index 100% rename from scripts/writing/tmdb-debug.sh rename to scripts/makropad/writing/tmdb-debug.sh diff --git a/scripts/writing/tmdb.sh b/scripts/makropad/writing/tmdb.sh similarity index 100% rename from scripts/writing/tmdb.sh rename to scripts/makropad/writing/tmdb.sh diff --git a/scripts/writing/todo.sh b/scripts/makropad/writing/todo.sh similarity index 100% rename from scripts/writing/todo.sh rename to scripts/makropad/writing/todo.sh diff --git a/scripts/theming/theming.sh b/scripts/theming/theming.sh deleted file mode 100644 index 8b13789..0000000 --- a/scripts/theming/theming.sh +++ /dev/null @@ -1 +0,0 @@ - diff --git a/scripts/tiling-helper/move-grayjay.sh b/scripts/tiling-helper/move-grayjay.sh deleted file mode 100755 index 2121393..0000000 --- a/scripts/tiling-helper/move-grayjay.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -timeout=50 # 10 seconds max (50 * 0.2s) -count=0 - -while (( count < timeout )); do - # Grab both address and floating status - read -r win_addr floating <<< $(hyprctl -j clients | jq -r '.[] | select(.title == "Grayjay") | "\(.address) \(.floating)"') - - if [[ -n "$win_addr" ]]; then - # Add 0x prefix if missing - if [[ "$win_addr" != 0x* ]]; then - win_addr="0x$win_addr" - fi - - # If the window is floating, toggle to make it tiled - if [[ "$floating" == "true" ]]; then - hyprctl dispatch togglefloating address:$win_addr - fi - - # Move to workspace 2 silently - hyprctl dispatch movetoworkspacesilent 2,address:$win_addr - exit 0 - fi - - sleep 0.2 - ((count++)) -done - -echo "Grayjay window not found within timeout." >&2 -exit 1 diff --git a/scripts/tiling-helper/toggle-goxlr-fullscreen.sh b/scripts/tiling-helper/toggle-goxlr-fullscreen.sh deleted file mode 100755 index 7acb2b1..0000000 --- a/scripts/tiling-helper/toggle-goxlr-fullscreen.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -timeout=50 # 10 seconds max (50 * 0.2s) -count=0 - -while (( count < timeout )); do - win_addr=$(hyprctl clients | awk ' - /^Window/ { addr=$2 } - /title: GoXLR Utility/ { print addr } - ') - - if [[ -n "$win_addr" ]]; then - # Add 0x prefix if missing - if [[ "$win_addr" != 0x* ]]; then - win_addr="0x$win_addr" - fi - - # Get fullscreen state (1 or 0) - fullscreen_state=$(hyprctl clients | awk -v addr="${win_addr#0x}" ' - $1 == "Window" && $2 == addr { found=1 } - found && /^fullscreen:/ { print $2; exit } - ') - - if [[ "$fullscreen_state" == "1" ]]; then - hyprctl dispatch fullscreen address:$win_addr - echo "Fullscreen disabled for GoXLR Utility." - else - echo "GoXLR Utility is not fullscreen." - fi - - exit 0 - fi - - sleep 0.2 - ((count++)) -done - -echo "GoXLR Utility window not found within timeout." >&2 -exit 1