Switch to dash

This commit is contained in:
2023-09-18 18:20:08 +02:00
parent cfa77fcdb4
commit bb7ec3345a
6 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/dash
if [ "$(pgrep -cx autogap)" -gt 1 ] ; then
killall autogap && exit 0

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/dash
i=1
case $1 in
dsktp) # Add or remove a desktop

View File

@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/dash
if [ "$(pgrep -cx euclid_balancer)" -gt 1 ] ; then
killall euclid_balancer && exit 0

View File

@@ -1,3 +1,3 @@
#! /bin/bash
#!/bin/dash
# Run program unless it's already running
pgrep $@ > /dev/null || ($@ &)

View File

@@ -1,3 +1,3 @@
#!/bin/zsh
#!/bin/dash
pgrep -axf $1 >/dev/null && pkill -xf $1 || eval $1 &
exit 0

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/dash
file="/tmp/.minimized"
touch $file
# By https://github.com/tatou-tatou