Home

Awesome

<!-- A huge collection of Rofi themes --> <p align="center"> <img src="previews/logo.png"> </p> <p align="center"> <img src="https://img.shields.io/github/license/adi1090x/rofi?style=for-the-badge"> <img src="https://img.shields.io/github/stars/adi1090x/rofi?style=for-the-badge"> <img src="https://img.shields.io/github/issues/adi1090x/rofi?color=violet&style=for-the-badge"> <img src="https://img.shields.io/github/forks/adi1090x/rofi?color=teal&style=for-the-badge"> </p> <p align="center"> <a href="https://github.com/adi1090x/rofi#launchers" target="_blank"><img alt="undefined" src="https://img.shields.io/badge/launchers-skyblue?style=for-the-badge"></a> <a href="https://github.com/adi1090x/rofi#applets" target="_blank"><img alt="undefined" src="https://img.shields.io/badge/applets-lightgreen?style=for-the-badge"></a> <a href="https://github.com/adi1090x/rofi#powermenus" target="_blank"><img alt="undefined" src="https://img.shields.io/badge/powermenus-pink?style=for-the-badge"></a> </p> <p align="center">A huge collection of <a href="https://github.com/davatorium/rofi">Rofi</a> based custom <i>Applets</i>, <i>Launchers</i> & <i>Powermenus</i>.</p> <details> <summary><b><code>Launchers</code></b></summary>
Type 1Type 2Type 3Type 4
imgimgimgimg
Type 5Type 6Type 7
imgimgimg
</details> <details> <summary><b><code>Applets</code></b></summary>
Type 1Type 2Type 3
imgimgimg
Type 4Type 5
imgimg
</details> <details> <summary><b><code>Powermenus</code></b></summary>
Type 1Type 2Type 3
imgimgimg
Type 4Type 5Type 6
imgimgimg
</details>

What is Rofi?

Rofi is A window switcher, Application launcher and dmenu replacement. Rofi started as a clone of simpleswitcher and It has been extended with extra features, like an application launcher and ssh-launcher, and can act as a drop-in dmenu replacement, making it a very versatile tool. Rofi, like dmenu, will provide the user with a textual list of options where one or more can be selected. This can either be running an application, selecting a window, or options provided by an external script.

Installation

Everything here is created on rofi version : 1.7.4

$ git clone --depth=1 https://github.com/adi1090x/rofi.git
$ cd rofi
$ chmod +x setup.sh
$ ./setup.sh

[*] Installing fonts...
[*] Updating font cache...

[*] Creating a backup of your rofi configs...
[*] Installing rofi configs...
[*] Successfully Installed.

Note : These themes are like an ecosystem, everything here is connected with each other in some way. So... before modifying anything by your own, make sure you know what you doing.


<p align="center"> <a href="https://github.com/sponsors/adi1090x"><img src="previews/sponsor.png" width="256px"></a> </p> <p align="center"> <b>Special thanks to all the Sponsors</b>. Maintenance of this project is made possible by you guys. If you'd like to sponsor this project and have your avatar appear below, <a href="https://github.com/sponsors/adi1090x">click here</a> 💖 </p> <p align="center"> <!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;15263867?u&#x3D;7f45e973d008c1c9fc573554a95efac83751e726&amp;v&#x3D;4" width="60px" alt="David Toska" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;162145059?u&#x3D;16ee4fee3e95ea7bc1599abdb2ff0ec4a2385ea2&amp;v&#x3D;4" width="60px" alt="Carl Andersen" /></a><!-- sponsors --> </p>

Launchers

Change Style : Edit ~/.config/rofi/launchers/type-X/launcher.sh script and edit the following line to use the style you like.

theme='style-1'

Change Colors : Edit ~/.config/rofi/launchers/type-X/shared/colors.rasi file and edit the following line to use the color-scheme you like.

@import "~/.config/rofi/colors/onedark.rasi"

Colors in type-5, type-6 and type-7 are hard-coded (based on image colors) and can be changed by editing the respective style-X.rasi file.

Previews

<details> <summary><b>Type 1</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
Style 11Style 12Style 13Style 14Style 15
imgimgimgimgimg
</details> <details> <summary><b>Type 2</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
Style 11Style 12Style 13Style 14Style 15
imgimgimgimgimg
</details> <details> <summary><b>Type 3</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
</details> <details> <summary><b>Type 4</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
</details> <details> <summary><b>Type 5</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
</details> <details> <summary><b>Type 6</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
</details> <details> <summary><b>Type 7</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
</details>
<details> <summary><b>Color Schemes</b></summary>
AdaptaArcBlackCatppuccinCyberpunk
imgimgimgimgimg
DraculaEverforestGruvboxLovelaceNavy
imgimgimgimgimg
NordOnedarkPaperSolarizedYousai
imgimgimgimgimg
</details>

Applets

AppletsDescriptionRequired Applications
Apps As RootOpen Applications as rootpkexec : alacritty, thunar, geany, ranger, vim
AppsFavorite or most used Applicationsalacritty, thunar, geany, firefox, ncmpcpp, xfce4-settings-manager
BatteryDisplay battery percentage & charging status with dynamic iconspkexec, acpi, powertop xfce4-power-manager-settings
BrightnessDisplay and adjust screen brightnesslight, xfce4-power-manager-settings
MPDControl the song play through mpdmpd, mpc
PowermenuA classic power menu, with Uptimesystemd, betterlockscreen
QuicklinksBookmarks for most used websitesfirefox or chromium or any other browser
ScreenshotTake screenshots using maimmaim, xrandr, dunst, xclip
VolumeDisplay and control volume with dynamic icons and mute statusamixer and pavucontrol

To use your programs with these applets, Edit the scripts in ~/.config/rofi/applets/bin directory.

Change Theme : Edit ~/.config/rofi/applets/shared/theme.bash script and edit the following line to use the type and style you like.

type="$HOME/.config/rofi/applets/type-1"
style='style-1.rasi'

Change Colors : Edit ~/.config/rofi/applets/shared/colors.rasi file and edit the following line to use the color-scheme you like.

@import "~/.config/rofi/colors/onedark.rasi"

Colors in type-4 and type-5 are hard-coded (based on image colors) and can be changed by editing the respective style-X.rasi file.

Previews

<details> <summary><b>Apps as root</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Apps</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Battery</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Brightness</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>MPD</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Powermenu</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Quicklinks</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Screenshot</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details> <details> <summary><b>Volume</b></summary>
Type 1Type 2Type 3Type 4Type 5
imgimgimgimgimg
</details>

Powermenus

Change Style : Edit ~/.config/rofi/powermenu/type-X/powermenu.sh script and edit the following line to use the style you like.

theme='style-1'

Change Colors : Edit ~/.config/rofi/powermenu/type-X/shared/colors.rasi file and edit the following line to use the color-scheme you like.

@import "~/.config/rofi/colors/onedark.rasi"

Colors in type-5 and type-6 are hard-coded (based on image colors) and can be changed by editing the respective style-X.rasi file.

Previews

<details> <summary><b>Type 1</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
</details> <details> <summary><b>Type 2</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
Style 6Style 7Style 8Style 9Style 10
imgimgimgimgimg
</details> <details> <summary><b>Type 3</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
</details> <details> <summary><b>Type 4</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
</details> <details> <summary><b>Type 5</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
</details> <details> <summary><b>Type 6</b></summary>
Style 1Style 2Style 3Style 4Style 5
imgimgimgimgimg
</details>

Tips

Simple way to execute scripts

There's a $HOME/.config/rofi/scripts directory, which contains links to each script. you can execute these links to open any type of Launcher, Applet or Powermenu.

You can add $HOME/.config/rofi/scripts directory to your $PATH variable so that entering t7_launcher in the terminal (or executing this command) will summon the type-7 launcher. you can do it by -

# Add directory to the $PATH variable
echo "PATH=$PATH:~/.config/rofi/scripts" >> ~/.profile
# Edit .zshrc and add this line
export PATH=$HOME/.config/rofi/scripts:$PATH

Warning: After changing the shell files, Logout and Login back again to update the $PATH environment variable.

Usage

with polybar

You can use these launchers, powermenus or applets with polybar by simply adding a module like that:

;; Application Launcher Module
[module/launcher]
type = custom/text

content = 異
content-background = black
content-foreground = green

click-left = ~/.config/rofi/launchers/type-1/launcher.sh
click-right = launcher_t1

;; Power Menu Module
[module/powermenu]
type = custom/text

content = 襤
content-background = black
content-foreground = red

click-left = ~/.config/rofi/powermenu/type-1/powermenu.sh
click-right = powermenu_t1

with i3wm

You can also use them with the keybindings on your window manager, For example:

set $mod Mod4

bindsym $mod+p exec --no-startup-id ~/.config/rofi/launchers/type-2/launcher.sh
bindsym $mod+x exec --no-startup-id powermenu_t2

with Openbox

Same thing can be done with openbox by adding these lines to rc.xml file:

  <keyboard>
    <keybind key="W-p">
      <action name="Execute">
        <command>launcher_t3</command>
      </action>
    </keybind>
    <keybind key="W-x">
      <action name="Execute">
        <command>~/.config/rofi/powermenu/type-3/powermenu.sh</command>
      </action>
    </keybind>
  </keyboard>

FYI