mirror of
https://github.com/alrayyes/dwm
synced 2023-11-14 15:56:31 +00:00
Added systray patch and had to remove alpha patch as they just do not work together in either 6.1 or 6.2
This commit is contained in:
parent
22b6fb726a
commit
e6052de8b8
10
PKGBUILD
10
PKGBUILD
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
pkgname=dwm
|
pkgname=dwm
|
||||||
pkgver=6.2
|
pkgver=6.2
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
pkgdesc="A dynamic window manager for X"
|
pkgdesc="A dynamic window manager for X"
|
||||||
url="http://dwm.suckless.org"
|
url="http://dwm.suckless.org"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -13,8 +13,8 @@ depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu' 'nerd-fonts-so
|
|||||||
install=dwm.install
|
install=dwm.install
|
||||||
|
|
||||||
_patches=(
|
_patches=(
|
||||||
|
"https://dwm.suckless.org/patches/systray/dwm-systray-20180314-3bd8466.diff"
|
||||||
"https://dwm.suckless.org/patches/noborder/dwm-noborder-20170207-bb3bd6f.diff"
|
"https://dwm.suckless.org/patches/noborder/dwm-noborder-20170207-bb3bd6f.diff"
|
||||||
"https://dwm.suckless.org/patches/alpha/dwm-alpha-20180613-b69c870.diff"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
||||||
@ -23,10 +23,10 @@ source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
|||||||
"${_patches[@]}")
|
"${_patches[@]}")
|
||||||
|
|
||||||
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
||||||
'40309255ec6aeadeb8075f41f6e2e085'
|
'8c46375a39600b69954298febfdff020'
|
||||||
'939f403a71b6e85261d09fc3412269ee'
|
'939f403a71b6e85261d09fc3412269ee'
|
||||||
'fbb786263f2d714b18368ff64779d669'
|
'2c19f1a3db59e158c45483668f4cee24'
|
||||||
'4e5893e04c443530168223639c97bc47')
|
'fbb786263f2d714b18368ff64779d669')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd $srcdir/$pkgname-$pkgver
|
||||||
|
11
config.h
11
config.h
@ -3,6 +3,10 @@
|
|||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
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 showbar = 1; /* 0 means no bar */
|
||||||
static const int topbar = 1; /* 0 means bottom bar */
|
static const int topbar = 1; /* 0 means bottom bar */
|
||||||
static const char *fonts[] = { "SauceCodePro Nerd Font Mono:style=Regular:pixelsize=18:antialias=true:autohint=true" };
|
static const char *fonts[] = { "SauceCodePro Nerd Font Mono:style=Regular:pixelsize=18:antialias=true:autohint=true" };
|
||||||
@ -12,18 +16,11 @@ static const char col_gray2[] = "#444444";
|
|||||||
static const char col_gray3[] = "#bbbbbb";
|
static const char col_gray3[] = "#bbbbbb";
|
||||||
static const char col_gray4[] = "#eeeeee";
|
static const char col_gray4[] = "#eeeeee";
|
||||||
static const char col_cyan[] = "#005577";
|
static const char col_cyan[] = "#005577";
|
||||||
static const unsigned int baralpha = 0xd0;
|
|
||||||
static const unsigned int borderalpha = OPAQUE;
|
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||||
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
||||||
};
|
};
|
||||||
static const unsigned int alphas[][3] = {
|
|
||||||
/* fg bg border */
|
|
||||||
[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
|
|
||||||
[SchemeSel] = { OPAQUE, baralpha, borderalpha },
|
|
||||||
};
|
|
||||||
|
|
||||||
/* tagging */
|
/* tagging */
|
||||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||||
|
Loading…
Reference in New Issue
Block a user