Fix shebang in eww scripts

This commit is contained in:
ItsDrike 2024-06-20 14:53:31 +02:00
parent 408e9fc6cb
commit 142ad87364
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
8 changed files with 150 additions and 150 deletions

View file

@ -1,13 +1,13 @@
#!/bin/env bash
#!/usr/bin/env bash
# shellcheck source=include
source "./scripts/include"
if [ "$1" = "--switch" ]; then
$HOME/.local/bin/scripts/gui/hyprland/swap-workspace "$2" >/dev/null
# hyprctl dispatch workspace "$2" >/dev/null
$HOME/.local/bin/scripts/gui/hyprland/swap-workspace "$2" >/dev/null
# hyprctl dispatch workspace "$2" >/dev/null
elif [ "$1" = "--loop" ]; then
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
else
./scripts/workspaces.py "$@"
./scripts/workspaces.py "$@"
fi