diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2023-04-16 12:50:24 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2023-04-16 12:50:24 -0500 |
| commit | 73bb4ff058b42629b14a87a28379b6b6e254ca93 (patch) | |
| tree | a881c220aea7f72828d476ed81c6f931af447771 /localports/dwl/config.h | |
| parent | 65de80da1a680481b79bacb19fecb0c7cf165eb1 (diff) | |
fix(ports): clean up dwl config
Diffstat (limited to 'localports/dwl/config.h')
| -rw-r--r-- | localports/dwl/config.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/localports/dwl/config.h b/localports/dwl/config.h index 5c4b090..8e38733 100644 --- a/localports/dwl/config.h +++ b/localports/dwl/config.h @@ -1,13 +1,7 @@ /* appearance */ static const int sloppyfocus = 0; /* focus follows mouse */ static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */ -static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */ -static const int monoclegaps = 0; /* 1 means outer gaps in monocle layout */ static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappih = 10; /* horiz inner gap between windows */ -static const unsigned int gappiv = 10; /* vert inner gap between windows */ -static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */ -static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */ static const float rootcolor[] = {0.141, 0.153, 0.227, 1.0}; static const float bordercolor[] = {0.212, 0.227, 0.310, 1.0}; static const float focuscolor[] = {0.576, 0.604, 0.718, 1.0}; @@ -19,7 +13,7 @@ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const Rule rules[] = { /* app_id title tags mask isfloating isterm noswallow monitor */ - { "dummy", NULL, 1 << 8, 0, -1 }, + { "himitsu.prompt",NULL, 1 << 8, 1, -1 }, }; /* layout(s) */ @@ -32,12 +26,12 @@ static const Layout layouts[] = { /* monitors */ static const MonitorRule monrules[] = { - /* name mfact nmaster scale layout rotate/reflect x y */ + /* name mfact nmaster scale layout rotate/reflect */ /* example of a HiDPI laptop monitor: - { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL -1, -1 }, + { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL }, */ /* defaults */ - { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL }, }; /* keyboard */ @@ -105,7 +99,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* commands */ static const char *termcmd[] = { "foot", NULL }; -static const char *menucmd[] = { "wmenu-run", NULL }; +static const char *menucmd[] = { "tofi-drun", NULL }; static const char *upvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL }; static const char *downvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL }; static const char *mute[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL }; |
