Skip to content

Commit

Permalink
Fixes a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
benwah committed Jan 11, 2022
1 parent cda4671 commit 5a4fe6a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ To build this, you'll need the source code for some libraries DWM requires. On U
```bash
sudo apt-get install build-essential libx11-dev libxft-dev libxinerama-dev
```

## Install
6 changes: 6 additions & 0 deletions dwm.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=PyDwm
Comment=Dynamic window manager
Exec=/home/metrio/.pyenv/versions/3.10.1/bin/pydwm
Type=XSession
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def relative_path(*parts):
return os.path.join('.', *parts)


DWM_VERSION = '6.2'
DWM_VERSION = '6.3'
DWM_SRC_ROOT_DIR= relative_path('dwm_src')
DWM_REMOTE_SOURCE = (
'https://dl.suckless.org/dwm/dwm-{version}.tar.gz'.format(
Expand All @@ -33,14 +33,14 @@ def relative_path(*parts):
dwm = Extension(
'dwm',
define_macros=[
('_DEFAULT_SOURCE',),
('_BSD_SOURCE',),
('_DEFAULT_SOURCE', True),
('_BSD_SOURCE', True),
('_POSIX_C_SOURCE', 2),
('VERSION', '"{version}"'.format(version=DWM_VERSION)),
('XINERAMA',),
('XINERAMA', True),
],
libraries=['X11', 'Xinerama', 'fontconfig', 'Xft'],
library_dirs=['/usr/X11R6/lib'],
library_dirs=['/usr/lib/x86_64-linux-gnu'],
extra_compile_args=[
'-c',
'-fPIC',
Expand All @@ -53,7 +53,7 @@ def relative_path(*parts):
'-fPIC',
],
include_dirs=[
'/usr/X11R6/include',
'/usr/include/X11/',
'/usr/include/freetype2',
DWM_SRC_ROOT_DIR,
],
Expand Down

0 comments on commit 5a4fe6a

Please sign in to comment.