commit 256f73643601ce0ba65160d77e3088430ac22e84
parent f9fb834cddf19d8819bd8a4a448c5bc3d7acc107
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Wed, 29 May 2024 19:52:34 -0400
laptop updates and minor changes.
Diffstat:
4 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
@@ -59,9 +59,6 @@
(use-package gruber-darker-theme
:ensure)
-(use-package gruvbox-theme
- :ensure)
-
(use-package minions
:ensure t
@@ -209,7 +206,6 @@
(append (if (consp backend) backend (list backend))
'(:with company-yasnippet))))
(setq company-backends (mapcar #'company-mode/backend-with-yas company-backends))
- (setq yas-snippet-dirs '("./snippets"))
(yas-global-mode 1))
(use-package general
diff --git a/deploy b/deploy
@@ -6,15 +6,15 @@ set -e
USAGE="Usage: ./deploy [laptop|desktop]"
-if test -z "$1"; then
+if [ -z "$1" ]; then
echo $USAGE
exit
fi
-if test "$1" = "laptop" || test $(echo "$1" | cut -c1-1) = "l" ; then
+if [ $(echo "$1" | cut -c1-1) = "l" ]; then
hardware="laptop"
FOOT_FONT="Iosevka Nerd Font:size=14"
-elif test "$1" = "desktop" || test $(echo "$1" | cut -c1-1) = "d"; then
+elif [ $(echo "$1" | cut -c1-1) = "d" ]; then
hardware="desktop"
FOOT_FONT="Iosevka Nerd Font:pixelsize=18"
else
diff --git a/device-specific/laptop/dwl-hardware.h b/device-specific/laptop/dwl-hardware.h
@@ -7,12 +7,12 @@
#ifndef NOT_DWL
/* monitors */
-/* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */
static const MonitorRule monrules[] = {
+ /* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */
/* name mfact nmaster scale layout rotate/reflect x y resx resy rate mode adaptive */
- { "NULL", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 0.0f, 0, 0},
- { "eDP-1", 0.50f, 1, 1.5f, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 480, 2560, 1440, 60.0f, 0, 0},
- { "DP-4", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1706, 0, 2560, 1440, 60.0f, 1, 0},
+ { "NULL", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 0.0f, 0, 0},
+ { "eDP-1", 0.50f, 1, 1.5f, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 480, 2560, 1440, 60.0f, -1, 0},
+ { "DP-4", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1706, 0, 2560, 1440, 60.0f, -1, 0},
};
/* Autostart */
@@ -22,6 +22,7 @@ static const char *const autostart[] = {
"preserve_dbus.sh", NULL,
"davmail_launch", NULL,
"baraction.sh", NULL,
+ "wbg", "/home/jake/Pictures/wallpaper", NULL,
NULL /* terminate */
};
diff --git a/device-specific/laptop/emacs.el b/device-specific/laptop/emacs.el
@@ -5,5 +5,6 @@
;; (toggle-frame-maximized)
(set-default 'truncate-lines t)
;; (list-colors-display) for a color picker
-(load-theme 'simple-light t)
+;; (load-theme 'simple-light t)
+(update-theme)
(transparency 100)