Make shebang more portable to NixOS

This commit is contained in:
Sravan Balaji
2024-03-30 20:03:08 -04:00
parent d565b6360f
commit 92cff92b6b
9 changed files with 12 additions and 54 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
mediaStatus=$(playerctl --player=playerctld metadata 2>&1)
if [[ "$mediaStatus" == "No player could handle this command" ]]; then