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 | |
| parent | 65de80da1a680481b79bacb19fecb0c7cf165eb1 (diff) | |
fix(ports): clean up dwl config
Diffstat (limited to 'localports')
| -rw-r--r-- | localports/dwl/APKBUILD | 2 | ||||
| -rw-r--r-- | localports/dwl/config.h | 16 |
2 files changed, 6 insertions, 12 deletions
diff --git a/localports/dwl/APKBUILD b/localports/dwl/APKBUILD index 72584b0..36699cc 100644 --- a/localports/dwl/APKBUILD +++ b/localports/dwl/APKBUILD @@ -30,5 +30,5 @@ package() { sha512sums=" 6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2 dwl-0.4.tar.gz 7c7952ede929faa137f690b3d1f44c1af4b40a3a6dac7bc3d5a377c8c454b35de1becdbbd1f3cbbde56c798f4f3bf78bc7eef4d7faa0e761d317179c072c629f xwayland.patch -e8a0806617a02c30579f4a76cd2186c96636dc8b3816870c588273c9637fa5c15bfb17aea773c93f9e6ae60dd9687bb250a762d1c6ba89858afaf467b62ad286 config.h +0726c3551c3c8a2dd5959b0a3a13edbbee40d9ab4bbfd5cc974c370f14fc3f8b45aea7715107c0a78a15860d6972d6fbb5713fcb6221ddaf49a60f8c7c8d9bc5 config.h " 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 }; |
