mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
Adding new conky style for smaller resolutions
This commit is contained in:
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user