From bd1f291be65f03e431b473e52a10b55e7d3c22a3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 28 Sep 2023 19:31:14 -0400 Subject: [PATCH] tweak the settings --- config.h | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/config.h b/config.h index 269ddd8..9024fd9 100644 --- a/config.h +++ b/config.h @@ -3,10 +3,10 @@ * * Configurable by environment variables. */ -static unsigned int borderpx = 4; // DWL_BORDER +static unsigned int borderpx = 2; // DWL_BORDER static float rootcolor[] = {0.18, 0.204, 0.251, 1.0}; // DWL_ROOT_COLOR static float bordercolor[] = {0.298, 0.337, 0.416, 1.0}; // DWL_BORDER_COLOR -static float focuscolor[] = {0.369, 0.506, 0.675, 1.0}; // DWL_FOCUS_COLOR +static float focuscolor[] = {0.533, 0.753, 0.816, 1.0}; // DWL_FOCUS_COLOR /* * Behaviour @@ -22,17 +22,22 @@ static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0}; * Autostart */ static const char *const autostart[] = { - "gentoo-pipewire-launcher", NULL, + "/usr/libexec/polkit-gnome-authentication-agent-1", NULL, + "/home/ryan/.local/libexec/xdg-desktop-portal-launcher", NULL, + "/home/ryan/.local/libexec/dwl-bar-launcher", NULL, + "gentoo-pipewire-launcher", "restart", NULL, "kanshi", NULL, "wbg", "/home/ryan/Pictures/wall.jpg", NULL, + "emacs", "--daemon", NULL, "foot", "--server", NULL, "librewolf-bin", NULL, "slack", NULL, "discord", NULL, - "signal-desktop", NULL, + "signal", NULL, "spotify", NULL, - "1password", NULL,/* terminate */ + "1password", NULL, + NULL, /* terminate */ }; /* @@ -45,12 +50,11 @@ static const int tagcount = TAGCOUNT; static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ - { "firefox", NULL, 1 << 8, 0, -1 }, { "emacsclient", NULL, 1 << 1, 0, -1 }, { "foot", NULL, 1 << 2, 0, -1 }, { "Slack", NULL, 1 << 3, 0, -1 }, { "discord", NULL, 1 << 3, 0, -1 }, - { "Signal", NULL, 1 << 3, 0, -1 }, + { "Signal", NULL, 1 << 3, 0, -1 }, { "Spotify", NULL, 1 << 4, 0, -1 }, { "vlc", NULL, 1 << 5, 0, -1 }, { "1Password", NULL, 1 << 6, 0, -1 }, @@ -147,7 +151,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *termcmd[] = { "st", NULL }; +static const char *termcmd[] = { "footclient", NULL }; static const char *menucmd[] = { "dmenu_run", NULL }; static const char *emacscmd[] = { "emacsclient", "-c", NULL }; @@ -157,7 +161,9 @@ static const Key keys[] = { /* spawn programs */ { MODKEY, XKB_KEY_t, spawn, {.v = menucmd} }, { MODKEY, XKB_KEY_a, spawn, {.v = termcmd} }, + { MODKEY|ShiftMask, XKB_KEY_a, spawn, SHCMD("foot") }, { MODKEY, XKB_KEY_g, spawn, {.v = emacscmd} }, + { MODKEY|ShiftMask, XKB_KEY_g, spawn, SHCMD("emacs") }, { MODKEY, XKB_KEY_c, regions, SHCMD("grim -g \"$(slurp)\" | swappy -f -") }, { MODKEY, XKB_KEY_s, spawn, SHCMD("pass-dmenu type") }, { MODKEY|ShiftMask, XKB_KEY_s, spawn, SHCMD("pass-dmenu clip") }, @@ -177,8 +183,8 @@ static const Key keys[] = { { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_n, setmfact, {.f = -0.05} }, { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_i, setmfact, {.f = +0.05} }, { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_h, setcfact, {.f = +0.25} }, - { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_comma, setcfact, {.f = -0.25} }, - { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_period, setcfact, {.f = 0} }, + { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_period, setcfact, {.f = -0.25} }, + { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_comma, setcfact, {.f = 0} }, /* manage clients */ { MODKEY, XKB_KEY_q, killclient, {0} },