From 336bb86b35aafac1a65c4b5bb5fdb67fedc6f06c Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sat, 7 Aug 2021 19:07:54 +0200 Subject: [PATCH] Fix shebang on several scripts --- .config/polybar/scripts/custom_date | 2 +- .config/polybar/scripts/polywins | 3 +-- .config/polybar/scripts/switch_window_state | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.config/polybar/scripts/custom_date b/.config/polybar/scripts/custom_date index fb2b991..0310a0c 100755 --- a/.config/polybar/scripts/custom_date +++ b/.config/polybar/scripts/custom_date @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash date=$(date "+%H:%M | %d de %B") hour_minute=$(echo "$date" | cut -f 1 -d"|") diff --git a/.config/polybar/scripts/polywins b/.config/polybar/scripts/polywins index 69603f0..6f66c82 100755 --- a/.config/polybar/scripts/polywins +++ b/.config/polybar/scripts/polywins @@ -1,5 +1,4 @@ -#!/bin/sh -# POLYWINS +#!/usr/bin/env bash # Forked from: https://github.com/tam-carre/polywins diff --git a/.config/polybar/scripts/switch_window_state b/.config/polybar/scripts/switch_window_state index 929dd09..072ed79 100755 --- a/.config/polybar/scripts/switch_window_state +++ b/.config/polybar/scripts/switch_window_state @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e