From c03f073c0c107fe751e60cf2f8ce6a825f7515b4 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sat, 12 Apr 2025 18:20:12 -0500 Subject: [PATCH] Getting configs ready for DTOS launch. --- .config/emacs/agenda.org | 0 .config/emacs/config.org | 2 +- .config/qtile/autostart.sh | 19 ++++++++++++++++--- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 .config/emacs/agenda.org diff --git a/.config/emacs/agenda.org b/.config/emacs/agenda.org new file mode 100644 index 0000000..e69de29 diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 3f31bb6..14bf555 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -770,7 +770,7 @@ Neotree is a file tree viewer. When you open neotree, it jumps to the current f * ORG MODE ** Agenda #+begin_src emacs-lisp -(setq org-agenda-files '("~/nc/Org/agenda.org")) +(setq org-agenda-files '("~/.config/emacs/agenda.org")) #+end_src ** Bullets diff --git a/.config/qtile/autostart.sh b/.config/qtile/autostart.sh index 7b1b6ba..5507a21 100755 --- a/.config/qtile/autostart.sh +++ b/.config/qtile/autostart.sh @@ -3,13 +3,22 @@ COLORSCHEME=DoomOne ### AUTOSTART PROGRAMS ### -lxsession & -picom --daemon & -/usr/bin/emacs --daemon & + +if systemd-detect-virt --quiet; then + lxsession & + sleep 1 + killall picom + xrandr -s 1920x1080 & +else + lxsession & +fi + nm-applet & "$HOME"/.screenlayout/layout.sh & sleep 1 conky -c "$HOME"/.config/conky/qtile/01/"$COLORSCHEME".conf || echo "Couldn't start conky." +sleep 1 +/usr/bin/emacs --daemon & ### UNCOMMENT ONLY ONE OF THE FOLLOWING THREE OPTIONS! ### # 1. Uncomment to restore last saved wallpaper @@ -18,3 +27,7 @@ xargs xwallpaper --stretch < ~/.cache/wall & # find /usr/share/backgrounds/dtos-backgrounds/ -type f | shuf -n 1 | xargs xwallpaper --stretch & # 3. Uncomment to set wallpaper with nitrogen # nitrogen --restore & + +if [ ! -d "$HOME"/.cache/betterlockscreen/ ]; then + betterlockscreen -u /usr/share/backgrounds/dtos-backgrounds/0277.jpg & +fi