This commit is contained in:
Chris Cochrun 2025-05-01 15:32:56 -05:00
parent 8576abd055
commit 370aa9615d
5 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,7 @@
#!/usr/bin/env nu
if (hyprctl clients -j | from json | where initialTitle == LibreWolf | is-not-empty) { hyprctl dispatch focuswindow "initialtitle:LibreWolf" } else { librewolf --name "lw" }
if (hyprctl clients -j | from json | where initialTitle == LibreWolf | is-not-empty) {
hyprctl dispatch focuswindow "initialtitle:LibreWolf"
} else {
librewolf --name "lw"
}