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,6 +1,6 @@
#!/bin/zsh
#!/bin/dash
if [ "$(pgrep -cx autogap)" -gt 1 ] ; then
if [ "$(pgrep -cx autogap)" -gt 1 ] ; then
killall autogap && exit 0
else

View File

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

View File

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

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
@@ -45,14 +45,14 @@ dmenu)
# Comment that line if you use vanilla dmenu.
yPos=$((410-$linesDisplayed*10))
# Uncomment only one line with dmenu_cmd
# If you use rofi
dmenu_cmd="rofi -lines $linesDisplayed -dmenu -p Hidden:"
# If you use dmenu, patched with eye candy
# dmenu_cmd="dmenu -l 9 -x $left_shift -y $top_shift -w $bar_width -fn sans-11 -nb #201F1D -nf #eddec9 -sb #8F3724 -sf #EDDEC9 -p Hidden:"
# If you use vanilla dmenu
# dmenu_cmd="dmenu -b -i -l $linesDisplayed -p Hidden:"