Merge branch 'master' into development

This commit is contained in:
Bazsi 2020-11-21 14:20:35 +01:00 committed by GitHub
commit 5f0722fe19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 61 additions and 1 deletions

45
PKGBUILD Normal file
View File

@ -0,0 +1,45 @@
pkgname=dwm-git
_pkgname=dwm
pkgver=v1.0
pkgrel=1
pkgdesc="A dynamic window manager for X nagbalae version"
url="http://github.com/nagbalae/dwm"
arch=('i686' 'x86_64')
license=('MIT')
options=(zipman)
depends=('libx11' 'libxinerama' 'libxft')
makedepends=('git')
provides=('dwm')
conflicts=('dwm')
source=("$_pkgname::git+https://github.com/nagbalae/dwm"
)
md5sums=( 'SKIP'
)
pkgver(){
cd $_pkgname
#git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
echo 'v1.0'
}
prepare() {
cd $_pkgname
if [[ -f "$srcdir/config.h" ]]; then
cp -fv "$srcdir/config.h" config.h
fi
}
build() {
cd $_pkgname
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
cd $_pkgname
make PREFIX=/usr DESTDIR="$pkgdir" install
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -m644 -D arch/dwm.desktop "$pkgdir/usr/share/xsessions/dwm.desktop"
}
# vim:set ts=2 sw=2 et:

View File

@ -3,7 +3,14 @@ A personal fork of dwm-6.2, kind of based on lukesmithxyz's and with ideas from
I'm trying to replicate my i3's looks in dwm.
## ***If you haven't used dwm, you don't start with this.***
Go to [suckless' dwm page](https://dwm.suckless.org) or use [Luke's](https://github.com/LukeSmithxyz/dwm) or [Samedamci's](https://github.com/samedamci/dwm) forks.
=======
**_This fork has and probably will have utterly awful coding_, and the features are tailored to my usage, though i hope you'll have fun trying it.**
## How to use
- **before installing change termcmd's urxvt to your terminal!, otherwise you'll have no terminal!**
- after install use sxhkd or some other program to set your keybinds up
- make or download a statusbar script
- if you want to make the cool wallpaper changer script, use wal or something, it's a few lines! (don't forget to refresh dwm's colours at the end with 'xdotool key super+shift+F5' or equialent!)
you are good to go, have fun!
## Features & Patches(mostly patches from suckless):
- Kinda compatible with pywal (use 'xdotool key super+shift+F5' at the end of the wallpaper changer script)
- Modkey is Super (Windows key)
@ -12,8 +19,8 @@ Go to [suckless' dwm page](https://dwm.suckless.org) or use [Luke's](https://git
- Xrdb (using color0,3,7)
- Vacant tags
- Sticky (super+s)
- Fullscreen (super+f)
- The rest you can see for yourself in the code!
## Todo:
- Move shortcuts to sxhkd
- Swallow
- Add Layouts

1
_config.yml Normal file
View File

@ -0,0 +1 @@
theme: jekyll-theme-minimal

7
arch/dwm.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=dwm
Icon=dwm
Type=XSession