Adding new conky style for smaller resolutions

This commit is contained in:
Derek Taylor
2023-08-27 15:15:12 -05:00
parent 9ea0ba441c
commit d931ee211c
12 changed files with 1198 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env bash
COLORSCHEME=DoomOne
CONKYSTYLE=01
### CHECKS IF VIRTUAL MACHINE ###
# If so, this sets an appropriate screen resolution.
@@ -9,6 +10,7 @@ if [[ $(systemd-detect-virt) = "none" ]]; then
echo "Not running in a Virtual Machine";
elif xrandr | grep "1366x768"; then
xrandr -s 1366x768 || echo "Cannot set 1366x768 resolution.";
CONKYSTYLE=02
elif xrandr | grep "1920x1080"; then
xrandr -s 1920x1080 || echo "Cannot set 1920x1080 resolution.";
else echo "Could not set a resolution."
@@ -31,7 +33,7 @@ lxsession &
picom &
/usr/bin/emacs --daemon &
killall conky
sleep 2 && conky -c "$HOME"/.config/conky/qtile/01/"$COLORSCHEME".conkyrc &
sleep 2 && conky -c "$HOME"/.config/conky/qtile/"$CONKYSTYLE"/"$COLORSCHEME".conkyrc &
copyq &
nm-applet &
pamac-tray-icon-plasma &