Compare commits

..

4 Commits
5.2 ... master

Author SHA1 Message Date
824550b0d6 README.md 2024-05-01 11:13:27 +02:00
56263911f5 Makefile 2022-12-03 14:59:41 +01:00
a493529b59 config.mk 2022-11-20 12:54:24 +01:00
31c02403f8 Makefile 2022-11-20 12:32:46 +01:00
3 changed files with 15 additions and 11 deletions

View File

@ -34,15 +34,17 @@ clean:
dist: clean dist: clean
mkdir -p dmenu-$(VERSION) mkdir -p dmenu-$(VERSION)
cp LICENSE Makefile README arg.h config.def.h config.mk dmenu.1\ cp LICENSE Makefile README arg.h config.def.h config.mk dmenu.1\
drw.h util.h dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes dmenu_cmd stest.1 $(SRC)\ drw.h util.h dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes dmenu_cmd dmenu_close stest.1 $(SRC)\
dmenu-$(VERSION) dmenu-$(VERSION)
tar -cf dmenu-$(VERSION).tar dmenu-$(VERSION) tar -cf dmenu-$(VERSION).tar dmenu-$(VERSION)
gzip dmenu-$(VERSION).tar gzip dmenu-$(VERSION).tar
rm -rf dmenu-$(VERSION) rm -rf dmenu-$(VERSION)
install: all install: all
mkdir -p /usr/share/fonts/truetype/ubuntumono/
tar Jxvf fonts/ubuntumono-nerd-fonts.tar.xz -C /usr/share/fonts/truetype/ubuntumono/
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f dmenu dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes dmenu_cmd stest $(DESTDIR)$(PREFIX)/bin cp -f dmenu dmenu_drun dmenu_run dmenu_wrun dmenu_fbrun dmenu_themes dmenu_cmd dmenu_close stest $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_drun chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_drun
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_run chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_run
@ -50,6 +52,7 @@ install: all
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_fbrun chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_fbrun
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_themes chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_themes
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_cmd chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_cmd
chmod 755 $(DESTDIR)$(PREFIX)/bin/dmenu_close
chmod 755 $(DESTDIR)$(PREFIX)/bin/stest chmod 755 $(DESTDIR)$(PREFIX)/bin/stest
mkdir -p $(DESTDIR)$(MANPREFIX)/man1 mkdir -p $(DESTDIR)$(MANPREFIX)/man1
sed "s/VERSION/$(VERSION)/g" < dmenu.1 > $(DESTDIR)$(MANPREFIX)/man1/dmenu.1 sed "s/VERSION/$(VERSION)/g" < dmenu.1 > $(DESTDIR)$(MANPREFIX)/man1/dmenu.1
@ -65,6 +68,7 @@ uninstall:
$(DESTDIR)$(PREFIX)/bin/dmenu_fbrun\ $(DESTDIR)$(PREFIX)/bin/dmenu_fbrun\
$(DESTDIR)$(PREFIX)/bin/dmenu_themes\ $(DESTDIR)$(PREFIX)/bin/dmenu_themes\
$(DESTDIR)$(PREFIX)/bin/dmenu_cmd\ $(DESTDIR)$(PREFIX)/bin/dmenu_cmd\
$(DESTDIR)$(PREFIX)/bin/dmenu_close\
$(DESTDIR)$(PREFIX)/bin/stest\ $(DESTDIR)$(PREFIX)/bin/stest\
$(DESTDIR)$(MANPREFIX)/man1/dmenu.1\ $(DESTDIR)$(MANPREFIX)/man1/dmenu.1\
$(DESTDIR)$(MANPREFIX)/man1/stest.1 $(DESTDIR)$(MANPREFIX)/man1/stest.1

View File

@ -25,7 +25,7 @@ dmenu-scripts - My implementation of dmenu to simulate Rofi functions (run, drun
* Open terminal and run the following commands: * Open terminal and run the following commands:
```shell ```shell
$ git clone https://gitlab.com/q3aql/dmenu-scripts $ git clone https://git.q3aql.dev/q3aql/dmenu-scripts
$ cd dmenu-scripts $ cd dmenu-scripts
$ sudo make install clean $ sudo make install clean
```` ````
@ -36,49 +36,49 @@ dmenu-scripts - My implementation of dmenu to simulate Rofi functions (run, drun
dmenu_run dmenu_run
``` ```
<img src="examples/dmenu_run.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_run.png" />
```shell ```shell
dmenu_drun dmenu_drun
``` ```
<img src="examples/dmenu_drun.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_drun.png" />
```shell ```shell
dmenu_wrun dmenu_wrun
``` ```
<img src="examples/dmenu_wrun.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_wrun.png" />
```shell ```shell
dmenu_fbrun dmenu_fbrun
``` ```
<img src="examples/dmenu_fbrun.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_fbrun.png" />
```shell ```shell
dmenu_themes dmenu_themes
``` ```
<img src="examples/dmenu_themes.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_themes.png" />
```shell ```shell
dmenu_cmd dmenu_cmd
``` ```
<img src="examples/dmenu_cmd.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_cmd.png" />
```shell ```shell
dmenu_close dmenu_close
``` ```
<img src="examples/dmenu_close.png" /> <img src="https://git.q3aql.dev/q3aql/dmenu-scripts/raw/branch/master/examples/dmenu_close.png" />
### External links: ### External links:

View File

@ -1,5 +1,5 @@
# dmenu version # dmenu version
VERSION = 5.1 VERSION = 5.2
# paths # paths
PREFIX = /usr PREFIX = /usr