diff --git a/modules/ewwbar/eww-config/scripts/change-active-workspace b/modules/ewwbar/eww-config/scripts/change-active-workspace index af2ce35..12d647b 100755 --- a/modules/ewwbar/eww-config/scripts/change-active-workspace +++ b/modules/ewwbar/eww-config/scripts/change-active-workspace @@ -1,4 +1,5 @@ -#! /bin/bash +#!/usr/bin/env bash +# function clamp { min=$1 max=$2 diff --git a/modules/ewwbar/eww-config/scripts/get-workspaces b/modules/ewwbar/eww-config/scripts/get-workspaces index 570ff6e..cdde821 100755 --- a/modules/ewwbar/eww-config/scripts/get-workspaces +++ b/modules/ewwbar/eww-config/scripts/get-workspaces @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash spaces (){ WORKSPACE_WINDOWS=$(hyprctl workspaces -j | jq 'map({key: .id | tostring, value: .windows}) | from_entries')