complete restructure of hyprland config and some other shit
This commit is contained in:
8
.config/scripts/otter-launch.sh
Executable file
8
.config/scripts/otter-launch.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
if [ -z $(hyprctl clients | grep "class: otter") ];
|
||||
then hyprctl dispatch exec "kitty --class otter --title otter-launcher -e sh -c 'sleep 0.05 && otter-launcher'";
|
||||
else echo application_already_Running;
|
||||
if [ -z $(hyprctl activewindow | grep "class: otter") ];
|
||||
then hyprctl dispatch focuswindow class:otter
|
||||
else hyprctl dispatch killactive none;
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user