2024-12-17 14:40:05 -07:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
|
|
|
hyprctl dispatch togglespecialworkspace music
|
|
|
|
|
2025-01-07 10:22:36 -07:00
|
|
|
YT_LINK=$(sort -R < ~/.config/hypr/scripts/music_links.txt | head -n 1)
|
|
|
|
|
|
|
|
firefox --new-window "$YT_LINK" &
|
|
|
|
sleep 1
|
2024-12-17 14:40:05 -07:00
|
|
|
hyprctl dispatch togglefloating
|
|
|
|
hyprctl dispatch movewindow u
|
|
|
|
hyprctl dispatch movewindow l
|
2025-01-07 10:22:36 -07:00
|
|
|
hyprctl dispatch resizeactive exact 45% 45%
|
|
|
|
hyprctl dispatch moveactive 30% 5%
|
2024-12-17 14:40:05 -07:00
|
|
|
|
2025-01-07 10:22:36 -07:00
|
|
|
foot ~/.config/hypr/scripts/music_setup_cmd.sh &
|
|
|
|
sleep 1
|
2024-12-17 14:40:05 -07:00
|
|
|
hyprctl dispatch togglefloating
|
2025-01-07 10:22:36 -07:00
|
|
|
hyprctl dispatch resizeactive exact 95% 30%
|
|
|
|
hyprctl dispatch movewindow d
|
|
|
|
hyprctl dispatch movewindow l
|
|
|
|
hyprctl dispatch moveactive -- 30 -5%
|