Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
824550b0d6 | |||
56263911f5 | |||
a493529b59 | |||
31c02403f8 |
8
Makefile
8
Makefile
@ -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
|
||||||
|
16
README.md
16
README.md
@ -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:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user