From fb055648f3ed1e77855ba713136385d49cf7d3e6 Mon Sep 17 00:00:00 2001 From: tiyn Date: Mon, 28 Apr 2025 06:04:57 +0200 Subject: [PATCH] updated config --- config.def.h | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/config.def.h b/config.def.h index 091c49e..9aee482 100644 --- a/config.def.h +++ b/config.def.h @@ -14,6 +14,8 @@ static const float focuscolor[] = COLOR(0x005577ff); static const float urgentcolor[] = COLOR(0xff0000ff); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ +static int enableautoswallow = 0; /* enables autoswallowing newly spawned clients */ +static float swallowborder = 1.0f; /* add this multiplied by borderpx to border when a client is swallowed */ /* tagging - TAGCOUNT must be no greater than 31 */ #define TAGCOUNT (10) @@ -23,26 +25,30 @@ static int log_level = WLR_ERROR; /* NOTE: ALWAYS keep a rule declared even if you don't use rules (e.g leave at least one example) */ static const Rule rules[] = { - /* app_id title tags mask isfloating monitor */ + /* app_id title tags mask isfloating isterm noswallow monitor */ /* examples: */ - { "firefox", NULL, 1 << 1, 0, -1 }, - { "zen", NULL, 1 << 1, 0, -1 }, - { "Lutris", NULL, 1 << 2, 0, 0 }, - { "zenity", NULL, 0, 1, -1 }, - { "steam", NULL, 1 << 2, 0, 0 }, - { "discord", NULL, 1 << 2, 0, 1 }, - { "TeamSpeak", NULL, 1 << 2, 0, 1 }, - { "Element", NULL, 1 << 2, 0, 1 }, - { "Signal", NULL, 1 << 4, 0, 1 }, - { "TelegramDesktop", NULL, 1 << 4, 0, 1 }, - { "threema-web", NULL, 1 << 4, 0, 1 }, - { "thunderbird", NULL, 1 << 4, 0, 1 }, - { "Sonixd", NULL, 1 << 8, 0, 1 }, - { "KeePassXC", NULL, 1 << 9, 0, 0 }, - { "KeePassXC", "Unlock Database - KeePassXC", 1 << 1, 1, 0 }, - { "easyeffects", NULL, 1 << 9, 0, 1 }, - { "pavucontrol", NULL, 1 << 9, 0, 1 }, - { "nextcloud", NULL, 0, 1, -1 }, + { "firefox", NULL, 1 << 1, 0, 0, 0, -1 }, + { "zen", NULL, 1 << 1, 0, 0, 0, -1 }, + { "Lutris", NULL, 1 << 2, 0, 0, 0, 0 }, + { "zenity", NULL, 0, 1, 0, 0, -1 }, + { "steam", NULL, 1 << 2, 0, 0, 0, 0 }, + { "discord", NULL, 1 << 2, 0, 0, 0, 1 }, + { "TeamSpeak", NULL, 1 << 2, 0, 0, 0, 1 }, + { "Mattermost", NULL, 1 << 2, 0, 0, 0, 1 }, + { "Element", NULL, 1 << 2, 0, 0, 0, 1 }, + { "Signal", NULL, 1 << 4, 0, 0, 0, 1 }, + { "TelegramDesktop", NULL, 1 << 4, 0, 0, 0, 1 }, + { "threema-web", NULL, 1 << 4, 0, 0, 0, 1 }, + { "thunderbird", NULL, 1 << 4, 0, 0, 0, 1 }, + { "Sonixd", NULL, 1 << 8, 0, 0, 0, 1 }, + { "KeePassXC", NULL, 1 << 9, 0, 0, 0, 0 }, + { "KeePassXC", "Unlock Database - KeePassXC", 1 << 1, 1, 0, 0, 0 }, + { "easyeffects", NULL, 1 << 9, 0, 0, 0, 1 }, + { "pavucontrol", NULL, 1 << 9, 0, 0, 0, 1 }, + { "nextcloud", NULL, 0, 1, 0, 0, -1 }, + { "st", NULL, 0, 0, 1, 0, -1 }, + { "vifm", NULL, 0, 0, 1, 0, -1 }, + { "vifmrun", NULL, 0, 0, 1, 0, -1 }, }; /* layout(s) */ @@ -147,6 +153,8 @@ 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; +static const int cursor_timeout = 5; + /* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */ #define MODKEY WLR_MODIFIER_LOGO