mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2025-02-26 14:19:52 -05:00
Added toggle for conky
This commit is contained in:
parent
881dc569a7
commit
a7f858af3e
@ -12,7 +12,7 @@
|
|||||||
#Created:
|
#Created:
|
||||||
# Fri 28 October 2022, 08:57:10 AM [GMT+1]
|
# Fri 28 October 2022, 08:57:10 AM [GMT+1]
|
||||||
#Modified:
|
#Modified:
|
||||||
# Fri 28 October 2022, 04:17:57 PM [GMT+1]
|
# Sun 30 October 2022, 12:39:42 PM [GMT]
|
||||||
#
|
#
|
||||||
#Description:
|
#Description:
|
||||||
# Toggle the conky on and off
|
# Toggle the conky on and off
|
||||||
@ -27,13 +27,11 @@ if command -v conky &>/dev/null; then
|
|||||||
if [[ ! $checkRun -ge "1" ]]; then
|
if [[ ! $checkRun -ge "1" ]]; then
|
||||||
(
|
(
|
||||||
i3-msg "gaps right all set 5; gaps right all set 330"
|
i3-msg "gaps right all set 5; gaps right all set 330"
|
||||||
sleep 2s
|
|
||||||
conky -c ~/.config/conky/left.conkyrc
|
conky -c ~/.config/conky/left.conkyrc
|
||||||
conky -c ~/.config/conky/right.conkyrc
|
conky -c ~/.config/conky/right.conkyrc
|
||||||
) &
|
) &
|
||||||
else
|
else
|
||||||
killall -q conky
|
killall -q conky
|
||||||
sleep 2s
|
|
||||||
i3-msg "gaps inner all set 5; gaps outer all set 2"
|
i3-msg "gaps inner all set 5; gaps outer all set 2"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user