From 574fcd3579a3abc53a46b02e7d26150752198dde Mon Sep 17 00:00:00 2001 From: John McQuah Date: Thu, 17 Mar 2022 21:27:31 -0400 Subject: [PATCH] fixed upstream url --- REPO | 6 +++--- dwm/.signature | 6 +++--- dwm/Pkgfile | 4 ++-- dwm/{config.h => config.def.h} | 33 +++++++++++++++------------------ 4 files changed, 23 insertions(+), 26 deletions(-) rename dwm/{config.h => config.def.h} (80%) diff --git a/REPO b/REPO index 9161f87..e0b67f7 100644 --- a/REPO +++ b/REPO @@ -208,9 +208,9 @@ f:dc946177c3e1057591b8951b35cefb57:zathura-ps/.footprint f:d94c094b537bf93221e7ecf1110a9584:gnuplot-qt5/.signature f:2e1ab848909639f9da00dac23782f0bf:gnuplot-qt5/Pkgfile f:cc51ccf0855d1f9a802c148c127d414c:gnuplot-qt5/.footprint -f:7c69142b9b24e320df9aedebbad81de3:dwm/config.h -f:95e05daeeebd8bc4bb499237aaf65e88:dwm/.signature -f:047ba9909c8701ccf4db866943522a48:dwm/Pkgfile +f:2b17208312dcdeb37e1bc2e00e6ac581:dwm/.signature +f:38c6d8f3b82994348eb27b97c3aabf41:dwm/Pkgfile +f:8cf59cc5561a14dc4aa654ec1dfd7991:dwm/config.def.h f:741c1a116e5019e71222386c940489a8:dwm/.footprint f:62b29c353146c16655ad788c14677762:sundials/sundials-fix-cmake-targets.patch f:8dbd26f941af76cf502fd7c13b35c488:sundials/.signature diff --git a/dwm/.signature b/dwm/.signature index 8d92e29..5de27ea 100644 --- a/dwm/.signature +++ b/dwm/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/jmq.pub -RWTTPlFarK9CxBm2rrWvKudn46VOBmdwiup44QHyhOIVj5n1HJsr4bN1G4P9sVbxLh0gkERckv7RAXSMCXzK+IYa/kSkxnHKKAM= -SHA256 (Pkgfile) = 6786df2e3910e605fb8ec9af7237c42f32d012b3821832d6b48599698e5c9b1f +RWTTPlFarK9CxNPj/0Rk5VEknYm6et+e0kxOte6CUiNywqwYnh9gFx6O+B4DT6fiV850yDtFptc1dDHrdgTKq9pSzpGLsfSF3gY= +SHA256 (Pkgfile) = 1ca7bf0f70e87b18858fc2e7e8e654fbb4d2aee84f8a99f7473a23b2e992c586 SHA256 (.footprint) = 5fafc2be3ed213723d4401d9318b376ceeae5c7ab3a2ab885c9ab13be1c154a6 SHA256 (dwm-6.3.tar.gz) = badaa028529b1fba1fd7f9a84f3b64f31190466c858011b53e2f7b70c6a3078d -SHA256 (config.h) = 10980e6ad3e2be29150ac75d74c7b2be7f1ae229aefc7fbaa1b5a9d2c7eeae8d +SHA256 (config.def.h) = fea859ffd65818adaf4e883aea1f6c333d3890071d0d08e7791b78c7ddf194a3 diff --git a/dwm/Pkgfile b/dwm/Pkgfile index 461dfd7..8dcd614 100644 --- a/dwm/Pkgfile +++ b/dwm/Pkgfile @@ -6,11 +6,11 @@ name=dwm version=6.3 release=1 -source=(http://dl.suckless.org/$name/$name-$version.tar.gz config.h) +source=(http://dl.suckless.org/$name/$name-$version.tar.gz config.def.h) build() { cd "$name-$version" - cp $SRC/config.h . + cp $SRC/config.def.h . make DESTDIR=$PKG PREFIX=/usr MANPREFIX=/usr/share/man clean install } diff --git a/dwm/config.h b/dwm/config.def.h similarity index 80% rename from dwm/config.h rename to dwm/config.def.h index fe1ddc0..bacf5f5 100644 --- a/dwm/config.h +++ b/dwm/config.def.h @@ -3,10 +3,6 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ -static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ -static const unsigned int systrayspacing = 2; /* systray spacing */ -static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ -static const int showsystray = 1; /* 0 means no systray */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; @@ -32,14 +28,15 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "firefox", NULL, NULL, 1 << 4, 0, -1 }, - { "nyxt", NULL, NULL, 1 << 1, 0, -1 }, + { "Firefox", NULL, NULL, 1 << 4, 0, -1 }, + { "nyxt", NULL, NULL, 1 << 1, 0, -1 }, }; /* layout(s) */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ static const Layout layouts[] = { /* symbol arrange function */ @@ -49,7 +46,7 @@ static const Layout layouts[] = { }; /* key definitions */ -#define MODKEY Mod1Mask +#define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ @@ -63,15 +60,15 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "bemenu-run", "-i", "--fn", dmenufont, "$@", "-p", "> " }; static const char *termcmd[] = { "alacritty", NULL }; -static const char *workbrowser[] = { "firefox", NULL }; -static const char *playbrowser[] = { "nyxt", NULL }; +static const char *workbrowser[] = { "firefox", NULL }; +static const char *playbrowser[] = { "nyxt", NULL }; static Key keys[] = { /* modifier key function argument */ - { MODKEY, XK_period, spawn, {.v = dmenucmd } }, - { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY|ShiftMask, XK_b, spawn, {.v = playbrowser } }, - { MODKEY|ShiftMask, XK_m, spawn, {.v = workbrowser } }, + { MODKEY, XK_period, spawn, {.v = dmenucmd } }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, + { MODKEY|ShiftMask, XK_b, spawn, {.v = playbrowser } }, + { MODKEY|ShiftMask, XK_m, spawn, {.v = workbrowser } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -82,7 +79,6 @@ static Key keys[] = { { MODKEY, XK_z, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, - { MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, @@ -90,15 +86,16 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, - { MODKEY, XK_bracketleft, focusmon, {.i = -1 } }, - { MODKEY, XK_bracketright, focusmon, {.i = +1 } }, - { MODKEY|ShiftMask, XK_bracketleft, tagmon, {.i = -1 } }, - { MODKEY|ShiftMask, XK_bracketright, tagmon, {.i = +1 } }, + { MODKEY, XK_bracketleft, focusmon, {.i = -1 } }, + { MODKEY, XK_bracketright, focusmon, {.i = +1 } }, + { MODKEY|ShiftMask, XK_bracketleft, tagmon, {.i = -1 } }, + { MODKEY|ShiftMask, XK_bracketright, tagmon, {.i = +1 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) + { MODKEY|ShiftMask, XK_q, quit, {0} }, }; /* button definitions */