From f8812c081bc871e6dd40cd858a7b3014588d9815 Mon Sep 17 00:00:00 2001 From: Nate Anderson Date: Tue, 7 Jan 2025 10:22:36 -0700 Subject: [PATCH] Fixed music script, removed some comments, added openconnect, fixed catppuccin warnings --- .../dotfiles/hypr/scripts/music_links.txt | 6 ++++ .../dotfiles/hypr/scripts/music_setup.sh | 30 ++++++++----------- ...{music_setup_vis.sh => music_setup_cmd.sh} | 5 ++-- nate-work/modules/home-manager/home.nix | 14 ++++----- 4 files changed, 27 insertions(+), 28 deletions(-) create mode 100644 nate-work/dotfiles/hypr/scripts/music_links.txt rename nate-work/dotfiles/hypr/scripts/{music_setup_vis.sh => music_setup_cmd.sh} (57%) diff --git a/nate-work/dotfiles/hypr/scripts/music_links.txt b/nate-work/dotfiles/hypr/scripts/music_links.txt new file mode 100644 index 0000000..424a71e --- /dev/null +++ b/nate-work/dotfiles/hypr/scripts/music_links.txt @@ -0,0 +1,6 @@ +https://www.youtube.com/watch?v=484RgaL990c +https://www.youtube.com/watch?v=6OGp_lZT2tM +https://www.youtube.com/watch?v=tIsiYbJLwIg +https://www.youtube.com/watch?v=pKw6s8w9rAI +https://www.youtube.com/watch?v=lFuErjQKoYg +https://www.youtube.com/@Denz1000 diff --git a/nate-work/dotfiles/hypr/scripts/music_setup.sh b/nate-work/dotfiles/hypr/scripts/music_setup.sh index e22fecf..2d63b21 100755 --- a/nate-work/dotfiles/hypr/scripts/music_setup.sh +++ b/nate-work/dotfiles/hypr/scripts/music_setup.sh @@ -2,26 +2,20 @@ hyprctl dispatch togglespecialworkspace music -firefox --new-window https://youtube.com & -sleep 0.5 +YT_LINK=$(sort -R < ~/.config/hypr/scripts/music_links.txt | head -n 1) + +firefox --new-window "$YT_LINK" & +sleep 1 hyprctl dispatch togglefloating -hyprctl dispatch resizeactive exact 40% 45% hyprctl dispatch movewindow u hyprctl dispatch movewindow l -hyprctl dispatch moveactive 30 30 +hyprctl dispatch resizeactive exact 45% 45% +hyprctl dispatch moveactive 30% 5% -# For other client -# hyprctl dispatch resizeactive exact 40% 40% -# hyprctl dispatch togglegroup -# hyprctl dispatch movewindow d -# hyprctl dispatch movewindow l -# hyprctl dispatch moveactive -- 30 -30 - -foot ~/.config/hypr/scripts/music_setup_vis.sh & -sleep 0.5 +foot ~/.config/hypr/scripts/music_setup_cmd.sh & +sleep 1 hyprctl dispatch togglefloating -hyprctl dispatch resizeactive exact 40% 90% -hyprctl dispatch movewindow u -hyprctl dispatch movewindow r -hyprctl dispatch moveactive -- -80 10% -# hyprctl dispatch togglespecialworkspace music +hyprctl dispatch resizeactive exact 95% 30% +hyprctl dispatch movewindow d +hyprctl dispatch movewindow l +hyprctl dispatch moveactive -- 30 -5% diff --git a/nate-work/dotfiles/hypr/scripts/music_setup_vis.sh b/nate-work/dotfiles/hypr/scripts/music_setup_cmd.sh similarity index 57% rename from nate-work/dotfiles/hypr/scripts/music_setup_vis.sh rename to nate-work/dotfiles/hypr/scripts/music_setup_cmd.sh index c298fcb..1eed781 100755 --- a/nate-work/dotfiles/hypr/scripts/music_setup_vis.sh +++ b/nate-work/dotfiles/hypr/scripts/music_setup_cmd.sh @@ -1,3 +1,4 @@ #! /usr/bin/env sh -sleep 3 -vis + +sleep 1 +cava diff --git a/nate-work/modules/home-manager/home.nix b/nate-work/modules/home-manager/home.nix index a6c37f8..36042a7 100644 --- a/nate-work/modules/home-manager/home.nix +++ b/nate-work/modules/home-manager/home.nix @@ -41,7 +41,9 @@ enable = true; flavor = "macchiato"; accent = "lavender"; - pointerCursor.enable = false; + cursors.enable = false; + kvantum.enable = true; + zsh-syntax-highlighting.enable = true; }; @@ -89,12 +91,13 @@ delve ### Misc - # dbeaver-bin usbutils - cli-visualizer openscad libxml2 nfs-utils + # For AnyConnect VPN + openconnect + networkmanager-openconnect # # Better Unix @@ -131,10 +134,7 @@ # # Communication # - # unstable.slack mumble - # unstable.signal-desktop - # zoom-us # # Other @@ -255,7 +255,6 @@ }; syntaxHighlighting = { enable = true; - catppuccin.enable = true; }; }; @@ -263,7 +262,6 @@ enable = true; platformTheme.name = "kvantum"; style.name = "kvantum"; - style.catppuccin.enable = true; }; gtk = {