diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c2515aa --- /dev/null +++ b/PKGBUILD @@ -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: diff --git a/README.md b/README.md index 6cc33f7..7ca28da 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..2f7efbe --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-minimal \ No newline at end of file diff --git a/arch/dwm.desktop b/arch/dwm.desktop new file mode 100644 index 0000000..b0c3354 --- /dev/null +++ b/arch/dwm.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Dwm +Comment=Dynamic window manager +Exec=dwm +Icon=dwm +Type=XSession