Skip to content

megvadulthangya/awesome-rofi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

157 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

undefined undefined undefined

A huge collection of Rofi-based custom Applets, Launchers & Powermenus, fully compatible with Awesome WM.
This fork includes the necessary adjustments to ensure seamless operation within the Awesome WM environment.

Launchers
Type 1 Type 2 Type 3 Type 4
img img img img
Type 5 Type 6 Type 7
img img img
Applets
Type 1 Type 2 Type 3
img img img
Type 4 Type 5
img img
Powermenus
Type 1 Type 2 Type 3
img img img
Type 4 Type 5 Type 6
img img img

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

Prerequisites

Make sure you have the same (stable) version of Rofi installed:

  • Arch / Arch-based: sudo pacman -S rofi
  • Debian / Ubuntu: sudo apt-get install rofi
  • Fedora: sudo dnf install rofi

Quick Installation (Recommended for most users)

Use this method if you only want to install the themes without keeping the repository files.

wget https://raw.githubusercontent.com/megvadulthangya/awesome-rofi/refs/heads/my-awesome-config/setup.sh
sudo bash setup.sh

This method downloads only the installation script and performs a clean installation without leaving unnecessary files.


Repository Installation (Recommended for developers and frequent updaters)

Clone the repository if you want to update frequently or contribute to the project.

git clone --depth=1 -b my-awesome-config https://github.com/megvadulthangya/awesome-rofi.git
cd awesome-rofi
sudo bash setup.sh

Keeping the repository allows you to update easily:

git pull
sudo bash setup.sh

What the installer does

[*] Installing fonts system wide...
[*] Updating font cache...
[*] Creating a backup of your rofi configs...
[*] Installing rofi configs...
[*] Updating /etc/skel with new rofi configuration...
[*] Successfully Installed.

After this, the themes are fully installed on your system.

Note: The installer also updates the /etc/skel directory.
This ensures that any newly created users will automatically receive the Rofi configuration without running the installer themselves.
Existing users will need to re-run the setup script to apply the latest changes.


Notes

These themes function as an interconnected ecosystem. Before making manual modifications, ensure you understand the configuration structure.

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

Type 1
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img
Style 11 Style 12 Style 13 Style 14 Style 15
img img img img img
Type 2
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img
Style 11 Style 12 Style 13 Style 14 Style 15
img img img img img
Type 3
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img
Type 4
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img
Type 5
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Type 6
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img
Type 7
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img

Color Schemes
Adapta Arc Black Catppuccin Cyberpunk
img img img img img
Dracula Everforest Gruvbox Lovelace Navy
img img img img img
Nord Onedark Paper Solarized Yousai
img img img img img

Applets

Applets Description Required Applications
Apps As Root Open Applications as root pkexec : alacritty, thunar, geany, ranger, vim
Apps Favorite or most used Applications alacritty, thunar, geany, firefox, ncmpcpp, xfce4-settings-manager
Battery Display battery percentage & charging status with dynamic icons pkexec, acpi, powertop xfce4-power-manager-settings
Brightness Display and adjust screen brightness light, xfce4-power-manager-settings
MPD Control the song play through mpd mpd, mpc
Powermenu A classic power menu, with Uptime systemd, betterlockscreen
Quicklinks Bookmarks for most used websites firefox or chromium or any other browser
Screenshot Take screenshots using maim maim, xrandr, dunst, xclip
Volume Display and control volume with dynamic icons and mute status amixer 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

Apps as root
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Apps
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Battery
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Brightness
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
MPD
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Powermenu
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Quicklinks
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Screenshot
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img
Volume
Type 1 Type 2 Type 3 Type 4 Type 5
img img img img img

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

Type 1
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Type 2
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Style 6 Style 7 Style 8 Style 9 Style 10
img img img img img
Type 3
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Type 4
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Type 5
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img
Type 6
Style 1 Style 2 Style 3 Style 4 Style 5
img img img img img

Tips

Simple way to execute scripts

After installation, all launchers and powermenus are available system-wide as executable commands.
You can run any launcher or powermenu simply by calling:

  • launcher_t1 through launcher_t7
  • powermenu_t1 through powermenu_t6

Each command opens the corresponding launcher, applet, or powermenu directly, without any additional configuration.

Usage

with polybar

You can integrate the launchers and powermenus into polybar by defining modules like:

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

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

click-left = launcher_t1
click-right = launcher_t1

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

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

click-left = powermenu_t1
click-right = powermenu_t1

with i3wm

You can bind them directly in your i3wm configuration. For example:

set $mod Mod4

bindsym $mod+p exec --no-startup-id launcher_t2
bindsym $mod+x exec --no-startup-id powermenu_t2

with Openbox

You can also use them in Openbox by adding entries to your rc.xml:

  <keyboard>
    <keybind key="W-p">
      <action name="Execute">
        <command>launcher_t3</command>
      </action>
    </keybind>
    <keybind key="W-x">
      <action name="Execute">
        <command>powermenu_t3</command>
      </action>
    </keybind>
  </keyboard>

with awesome-wm

Because the commands are available system-wide, they can be used easily in awesome-wm as well.
Add keybindings like the following to your rc.lua:

awful.key({ modkey }, "r", function()
    awful.spawn('launcher_t3')
end,
{description = 'Program Launcher', group = 'awesome'}),

awful.key({ modkey, "Shift" }, "q", function()
    awful.spawn("powermenu_t1")
end,
{description = "Sign Out/Power Options", group = "awesome"}),

FYI

  • For previous versions, check the respective branch, 1.7.0 is the most recent branch.
  • These themes are created on a display with 1920x1080 resolution. Everything should work fine on your display as well, except fullscreen themes. So Adjust the margin and padding by yourself.
  • The purpose of this repository is to provide you a complete (almost) reference. So by using the files as reference, You can theme rofi by yourself.

About

A huge collection of Rofi based custom Applets, Launchers & Powermenus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%