Commit d98a65a

Ansari <ping@ansari.wtf>
2026-01-02 05:21:38
Add YouTube desktop entry and update window rules for special workspaces
1 parent 33dd684
Changed files (4)
.assets
.config
hypr
.local
share
applications
.wraith
.assets/icons/youtube.png
Binary file
.config/hypr/modules/windows.conf
@@ -4,7 +4,7 @@ monitor=DP-1,1920x1080@144,auto,1
 windowrule = float true,center true,size 875 600,match:tag floating-window
 
 windowrule = tag +floating-window, match:class (Thunar|thunar|org.gnome.Evince|org.wraith.*|org.pulseaudio.pavucontrol|com.mitchellh.ghostty|Termius|nwg-look|localsend|imv|mpv)
-windowrule = tag +floating-window, match:class (xdg-desktop-portal-gtk)
+windowrule = tag +floating-window, match:class (xdg-desktop-portal-gtk|org.gnome.*|rustdesk)
 windowrule = tag +floating-window, match:title ^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
 
 # Popped window rounding
@@ -25,5 +25,6 @@ windowrule = size 460 800, match:class steam, match:title Friends List
 
 
 #Special Workspaces
+windowrule = workspace special:youtube, match:class ^(chrome-youtube\..*)$
 windowrule = workspace special:music, match:class ^(chrome-music\.youtube\..*)$
 windowrule = workspace special:3d, match:class ^(BambuStudio)$
\ No newline at end of file
.local/share/applications/youtube.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Youtube
+Exec=smart-launch --web --new "chrome-youtube.com" "https://youtube.com"
+Terminal=false
+Type=Application
+Icon=/home/robin/.assets/icons/youtube.png
+StartupNotify=true
+
.wraith/scripts/arch-spring-cleanup.sh
@@ -156,7 +156,8 @@ else
   echo "$ORPHANS" | gum_safe format
 
   if gum_safe confirm "Remove orphaned packages?"; then
-    run_task "Removing orphaned packages" "sudo pacman -Rns $ORPHANS"
+    ORPHON_LIST=$(echo "$ORPHANS" | tr '\n' ' ')
+    run_task "Removing orphaned packages" "sudo pacman -Rns --noconfirm $ORPHON_LIST" 
   else
     sub_text "Skipped orphan removal."
   fi