first commit

This commit is contained in:
Octopus Octopus 2024-04-24 17:01:25 -05:00
commit 75792fc813
1 changed files with 13 additions and 0 deletions

13
ftl.fish Executable file
View File

@ -0,0 +1,13 @@
#!/bin/env fish
set input (wlrctl toplevel list | tofi)
set app (string split : $input)
set app_id $app[1]
if test (count $app) -gt 2
set title (string join : $app[2..-1])
set title (string trim --left $title)
else
set title (string trim --left $app[2])
end
echo $title
wlrctl toplevel focus title:$title