commit 42267cca002f1973e353bbce4054893ebc1d071b
parent 6cee11e662494b4e6e5af8ca38c6776713b09762
Author: Jake Koroman <jakekoroman@gmail.com>
Date: Sun, 28 Jul 2024 16:24:10 -0400
update laptop.
Diffstat:
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/device-specific/laptop/dwl-hardware.h b/device-specific/laptop/dwl-hardware.h
@@ -6,6 +6,23 @@
#define DEVICE_FONT "monospace:size=10"
#ifndef NOT_DWL
+#define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \
+ ((hex >> 16) & 0xFF) / 255.0f, \
+ ((hex >> 8) & 0xFF) / 255.0f, \
+ (hex & 0xFF) / 255.0f }
+
+static const float rootcolor[] = COLOR(0x222222ff);
+static const float bordercolor[] = COLOR(0x181818ff);
+/* static const float focuscolor[] = COLOR(0x3465a4ff); */
+static const float focuscolor[] = COLOR(0xe78284ff);
+static const float urgentcolor[] = COLOR(0xa40000ff);
+
+void
+initenv(void)
+{
+ setenv("THEME", "solarized", 1);
+}
+
/* monitors */
static const MonitorRule monrules[] = {
/* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */
@@ -22,7 +39,7 @@ static const char *const autostart[] = {
"preserve_dbus.sh", NULL,
"davmail_launch", NULL,
"baraction.sh", NULL,
- /* "wbg", "/home/jake/Pictures/wallpaper", NULL, */
+ "wbg", "/home/jake/Pictures/wallpaper", NULL,
NULL /* terminate */
};
diff --git a/device-specific/laptop/emacs.el b/device-specific/laptop/emacs.el
@@ -5,6 +5,6 @@
;; (toggle-frame-maximized)
(set-default 'truncate-lines t)
;; (list-colors-display) for a color picker
-(load-theme 'liso t)
+(load-theme 'solarized-dark t)
;; (update-theme)
(transparency 100)