From d8a7db2a2af903e7e812870cefb65edb4cb502c9 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 26 Sep 2023 22:55:20 -0400 Subject: [PATCH] configure basic settings --- config.h | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/config.h b/config.h index 42fac92..3921532 100644 --- a/config.h +++ b/config.h @@ -3,10 +3,10 @@ * * Configurable by environment variables. */ -static unsigned int borderpx = 1; // DWL_BORDER -static float rootcolor[] = {0.3, 0.3, 0.3, 1.0}; // DWL_ROOT_COLOR -static float bordercolor[] = {0.5, 0.5, 0.5, 1.0}; // DWL_BORDER_COLOR -static float focuscolor[] = {1.0, 0.0, 0.0, 1.0}; // DWL_FOCUS_COLOR +static unsigned int borderpx = 4; // 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 /* * Behaviour @@ -22,8 +22,17 @@ static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0}; * Autostart */ static const char *const autostart[] = { - "wbg", "/path/to/your/image", NULL, - NULL /* terminate */ + "gentoo-pipewire-launcher", NULL, + "kanshi", NULL, + "wbg", "/home/ryan/Pictures/wall.jpg", NULL, + "foot", "--server", NULL, + + "librewolf-bin", NULL, + "slack", NULL, + "discord", NULL, + "signal-desktop", NULL, + "spotify", NULL, + "1password", NULL,/* terminate */ }; /* @@ -36,10 +45,15 @@ static const int tagcount = TAGCOUNT; static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ - /* examples: - { "Gimp", NULL, 0, 1, -1 }, - */ { "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 }, + { "Spotify", NULL, 1 << 4, 0, -1 }, + { "vlc", NULL, 1 << 5, 0, -1 }, + { "1Password", NULL, 1 << 6, 0, -1 }, }; /* @@ -84,7 +98,7 @@ static const int repeat_delay = 600; static const int tap_to_click = 1; static const int tap_and_drag = 1; static const int drag_lock = 1; -static const int natural_scrolling = 0; +static const int natural_scrolling = 1; static const int disable_while_typing = 1; static const int left_handed = 0; static const int middle_button_emulation = 0; @@ -124,7 +138,7 @@ LIBINPUT_CONFIG_TAP_MAP_LMR -- 1/2/3 finger tap maps to left/middle/right static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TAP_MAP_LRM; /* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */ -#define MODKEY WLR_MODIFIER_ALT +#define MODKEY WLR_MODIFIER_LOGO #define TAGKEYS(KEY,SKEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \