From 24ad12f10689c17d59ae12de9b21eddfe6ac2234 Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Thu, 24 Apr 2025 23:57:44 -0600 Subject: [PATCH] hellwal support --- config.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 0aba276..e149441 100644 --- a/config.h +++ b/config.h @@ -1,4 +1,9 @@ -#include "/home/amolinae/.cache/wal/colors-wal-dwl.h" +/* Taken from https://github.com/djpohly/dwl/issues/466 */ +#define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \ + ((hex >> 16) & 0xFF) / 255.0f, \ + ((hex >> 8) & 0xFF) / 255.0f, \ + (hex & 0xFF) / 255.0f } +#include "/home/amolinae/.cache/hellwal/dwl-colors-bar.h" /* appearance */ static const int sloppyfocus = 1; /* focus follows mouse */ @@ -44,7 +49,6 @@ static const Env envs[] = { /* Autostart */ static const char *const autostart[] = { - "touch", "/tmp/swaylock-sleep", "&&", "inotifyd", "swaylock", "/tmp/swaylock-sleep", NULL, "/usr/libexec/xdg-desktop-portal", "-r", NULL, "/usr/libexec/xdg-desktop-portal-wlr", "-r", NULL, "wbg", WALLPAPER, NULL, @@ -181,7 +185,7 @@ static const char *menucmd[] = { "fuzzel", NULL }; // Application launcher static const char *fmgrcmd[] = { "footclient", "--title", "lf", "lf", NULL }; // File manager static const char *sptfcmd[] = { "footclient", "--title", "Spotify", "spotify_player", NULL }; // Spotify client static const char *ncmxcmd[] = { "footclient", "--title", "ncpamixer", "ncpamixer", NULL }; // Volume control -static const char *blthcmd[] = { "footclient", "--title", "bluetui", "bluetui", NULL }; // Bluetooth manager +static const char *blthcmd[] = { "bluetooth", NULL }; // Bluetooth manager static const char *pdfrcmd[] = { "zathura", NULL }; // PDF reader static const char *brwscmd[] = { "librewolf", NULL }; // Web Browser static const char *lockcmd[] = { "swaylock", NULL }; // Launch swaylock