mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 00:06:12 +01:00
Switch to dash
This commit is contained in:
@@ -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
|
killall autogap && exit 0
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
@@ -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,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
|
killall euclid_balancer && exit 0
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
8
bin/whid
8
bin/whid
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/dash
|
||||||
file="/tmp/.minimized"
|
file="/tmp/.minimized"
|
||||||
touch $file
|
touch $file
|
||||||
# By https://github.com/tatou-tatou
|
# By https://github.com/tatou-tatou
|
||||||
@@ -45,14 +45,14 @@ dmenu)
|
|||||||
# Comment that line if you use vanilla dmenu.
|
# Comment that line if you use vanilla dmenu.
|
||||||
yPos=$((410-$linesDisplayed*10))
|
yPos=$((410-$linesDisplayed*10))
|
||||||
|
|
||||||
|
|
||||||
# Uncomment only one line with dmenu_cmd
|
# Uncomment only one line with dmenu_cmd
|
||||||
# If you use rofi
|
# If you use rofi
|
||||||
dmenu_cmd="rofi -lines $linesDisplayed -dmenu -p Hidden:"
|
dmenu_cmd="rofi -lines $linesDisplayed -dmenu -p Hidden:"
|
||||||
|
|
||||||
# If you use dmenu, patched with eye candy
|
# 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:"
|
# 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
|
# If you use vanilla dmenu
|
||||||
# dmenu_cmd="dmenu -b -i -l $linesDisplayed -p Hidden:"
|
# dmenu_cmd="dmenu -b -i -l $linesDisplayed -p Hidden:"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user