More commenting in autostart, more improvments to user scripts
This commit is contained in:
parent
15c324b030
commit
48ce00ab51
@ -29,6 +29,7 @@ xfsettingsd &
|
|||||||
# Launch conky if session exists
|
# Launch conky if session exists
|
||||||
sleep 2; al-conky-session &
|
sleep 2; al-conky-session &
|
||||||
|
|
||||||
|
# set side user dirs shortcuts for file managers
|
||||||
xdg-user-dirs-gtk-update &
|
xdg-user-dirs-gtk-update &
|
||||||
|
|
||||||
$HOME/.config/keypack &
|
$HOME/.config/keypack &
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
on=""
|
on=""
|
||||||
off=""
|
off=""
|
||||||
|
|
||||||
if [[ $1 == *toggle* ]] && pgrep compton >/dev/null; then
|
if [[ $1 == *toggle* ]] && [ "$(pidof compton)" ]; then
|
||||||
al-compositor --stop && exit 0
|
al-compositor --stop && exit 0
|
||||||
elif [[ $1 == *toggle* ]]; then
|
elif [[ $1 == *toggle* ]]; then
|
||||||
al-compositor --start && exit 0
|
al-compositor --start && exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
if pgrep compton >/dev/null; then
|
if [ "$(pidof compton)" ]; then
|
||||||
echo "$on"
|
echo "$on"
|
||||||
else
|
else
|
||||||
echo "%{F#888888}$off"
|
echo "%{F#888888}$off"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if pgrep -x polybar >/dev/null; then
|
if [ "$(pidof polybar)" ]; then
|
||||||
pkill polybar
|
pkill polybar
|
||||||
else
|
else
|
||||||
start-polybar
|
start-polybar
|
||||||
|
Reference in New Issue
Block a user