mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
Switch to dash
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/zsh
|
#!/bin/dash
|
||||||
|
|
||||||
if [ "$(pgrep -cx autogap)" -gt 1 ] ; then
|
if [ "$(pgrep -cx autogap)" -gt 1 ] ; then
|
||||||
killall autogap && exit 0
|
killall autogap && exit 0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/dash
|
||||||
i=1
|
i=1
|
||||||
case $1 in
|
case $1 in
|
||||||
dsktp) # Add or remove a desktop
|
dsktp) # Add or remove a desktop
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/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
|
killall euclid_balancer && exit 0
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#! /bin/bash
|
#!/bin/dash
|
||||||
# Run program unless it's already running
|
# Run program unless it's already running
|
||||||
pgrep $@ > /dev/null || ($@ &)
|
pgrep $@ > /dev/null || ($@ &)
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/zsh
|
#!/bin/dash
|
||||||
pgrep -axf $1 >/dev/null && pkill -xf $1 || eval $1 &
|
pgrep -axf $1 >/dev/null && pkill -xf $1 || eval $1 &
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user