fix: #!/usr/bin/env

This commit is contained in:
2025-08-10 21:41:02 +02:00
parent a37c93245c
commit a0b3a7a672
10 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/env python3 #!/usr/bin/env python3
''' '''
- kvantum: kvantummanager --set catppuccin-mocha-"$flavor" - kvantum: kvantummanager --set catppuccin-mocha-"$flavor"

View File

@@ -1,4 +1,4 @@
#!/bin/env bash #!/usr/bin/env bash
if [ -z "$1" ]; then if [ -z "$1" ]; then
image=$(zenity --file-selection --title="Open File" --file-filter="*.jpg *.jpeg *.png *.webp *.bmp *.jfif *.tiff *.avif *.heic *.heif") image=$(zenity --file-selection --title="Open File" --file-filter="*.jpg *.jpeg *.png *.webp *.bmp *.jfif *.tiff *.avif *.heic *.heif")

View File

@@ -1,4 +1,4 @@
#!/bin/env bash #!/usr/bin/env bash
## Collect data ## Collect data
cache_dir="$HOME/.cache/eww/weather" cache_dir="$HOME/.cache/eww/weather"

View File

@@ -1,4 +1,4 @@
#!/bin/env bash #!/usr/bin/env bash
function close() { function close() {
killall -q waybar killall -q waybar

View File

@@ -1,7 +1,7 @@
#!/bin/env bash #!/usr/bin/env bash
function checkReturn { function checkReturn {
echo "Executing: $@" echo "Executing: $*"
if ! "$@"; then if ! "$@"; then
echo "Error runnning command" echo "Error runnning command"
exit 1 exit 1

View File

@@ -1,4 +1,4 @@
#!/bin/env bash #!/usr/bin/env bash
# get highest workspace ID # get highest workspace ID
max_id=$(hyprctl workspaces | grep '^workspace ID ' | awk '{print $3}' | sort -n | tail -1) max_id=$(hyprctl workspaces | grep '^workspace ID ' | awk '{print $3}' | sort -n | tail -1)

View File

@@ -1,9 +1,9 @@
#!/bin/env bash #!/usr/bin/env bash
HIGHLIGHT_COLOR="#cdd6f4" # text HIGHLIGHT_COLOR="#cdd6f4" # text
NORMAL_COLOR="#7f849c" # overlay1 NORMAL_COLOR="#7f849c" # overlay1
TARGET_LINE=1 TARGET_LINE=1
[ -n $1 ] && TARGET_LINE="$1" [ -n "$1" ] && TARGET_LINE="$1"
mapfile -t lines mapfile -t lines

View File

@@ -1,4 +1,4 @@
#!/bin/env python3 #!/usr/bin/env python3
APP_NAME = "spotify-lyrics" APP_NAME = "spotify-lyrics"
STATE_DIR_NAME = "~/.local/state/eww/lyrics" STATE_DIR_NAME = "~/.local/state/eww/lyrics"

View File

@@ -1,4 +1,4 @@
#!/bin/env python3 #!/usr/bin/env python3
import sys import sys
import subprocess import subprocess

View File

@@ -1,4 +1,4 @@
#!/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC1091,SC1090 # shellcheck disable=SC1091,SC1090
# Entries in publicip.conf: # Entries in publicip.conf: