dmenu-scripts/README.md

81 lines
1.7 KiB
Markdown
Raw Normal View History

2022-05-30 15:36:12 +02:00
dmenu-scripts - My implementation of dmenu to simulate Rofi functions (run, drun, window, filebrowser and theme-selector)
=========================================================================================================================
2022-05-29 15:52:30 +02:00
### Dependencies:
* **Arch Linux:**
2022-07-10 16:32:20 +02:00
```shell
2022-07-10 16:54:19 +02:00
$ sudo pacman -S gcc make coreutils sed expat freetype2 libxinerama xdotool --noconfirm
$ sudo pacman -S xorg-xlsclients dex xterm brotli fontconfig libbsd libmd --noconfirm
$ sudo pacman -S libpng libx11 libxau libxdmcp libxft libxrender xdg-utils --noconfirm
2022-07-10 16:32:20 +02:00
````
2022-05-29 15:52:30 +02:00
2022-05-30 15:36:12 +02:00
* **Debian/Ubuntu:**
2022-06-03 08:49:34 +02:00
2022-07-10 16:32:20 +02:00
```shell
2022-07-10 16:54:19 +02:00
$ sudo apt install gcc make coreutils sed libexpat1-dev libfreetype-dev xdg-utils -y
$ sudo apt install libxinerama-dev xdotool x11-utils dex xterm libxft-dev -y
$ sudo apt install libfreetype6-dev libfontconfig1-dev libpng-dev libbrotli-dev -y
$ sudo apt install libxrender-dev libmd-dev libxau-dev libbsd-dev libxdmcp-dev -y
2022-07-10 16:32:20 +02:00
````
2022-05-29 15:52:30 +02:00
### Build and install:
* Open terminal and run the following commands:
```shell
$ git clone https://github.com/q3aql/dmenu-scripts
2022-06-11 12:43:29 +02:00
$ cd dmenu-scripts
2022-05-29 15:52:30 +02:00
$ sudo make install clean
````
### dmenu scripts that simulate Rofi:
```shell
dmenu_run
```
<img src="examples/dmenu_run.png" />
```shell
dmenu_drun
```
<img src="examples/dmenu_drun.png" />
```shell
dmenu_wrun
```
<img src="examples/dmenu_wrun.png" />
```shell
dmenu_fbrun
```
<img src="examples/dmenu_fbrun.png" />
2022-05-29 18:47:03 +02:00
```shell
dmenu_themes
```
<img src="examples/dmenu_themes.png" />
2022-07-10 16:54:19 +02:00
```shell
dmenu_cmd
```
<img src="examples/dmenu_cmd.png" />
2022-05-29 15:52:30 +02:00
### External links:
* [dmenu homepage](https://tools.suckless.org/dmenu/)
* [Rofi homepage](https://github.com/davatorium/rofi)