Skip to content

anhsirk0/rofi-config

Repository files navigation

My Rofi config

Styles borrowed from Adi1090x's rofi themes

This repo has my rofi scripts for various menu/launchers
It has 2 styles and 26 colors (from modus-themes (2) and ef-themes (24))

Installation

Clone the repo into ~/.config/rofi/

git clone https://github.com/anhsirk0/rofi-config --depth 1

Usage

Script Usage Screenshot
browser/browser_menu.pl

Selected bookmark will be opened in a browser.

If entered text is not in the options, it will search the text on ddg.

Bangs are also supported.
Format: "bang-key search term"
Example: yt Linux Distros will search 'Linux distros' on youtube

  • yt -> youtube search
  • b -> brave search
  • i -> Reverse image search by url
  • di -> ddg images search
  • u -> open url
browser
helper/brightness_control.pl
  • Enter any num to set brightness to num
  • Enter a{num} to increase brightness by num (Example: a10 will increase by 10)
  • Enter d{num} to decrease brightness by num (Example: d20 will decrease by 20)
brightness
helper/volume_control.pl
  • Enter any num to set volume to num
  • Enter a{num} to increase volume by num (Example: a10 will increase by 10)
  • Enter d{num} to decrease volume by num (Example: d20 will decrease by 20)
volume
screenshot/launcher.sh

Screenshot menu with 3 options (fullscreen, area, window)

3 bangs are available

  • f my_screenshot_123 will capture fullscreen and save the image as my_screenshot_123.png
  • a my_area_screenshot will capture selected region and save the image as my_area_screenshot.png
  • w my_window_screenshot will capture active window and save the image as my_window_screenshot.png
screenshot
emoji/emoji.pl or rofi-emoji mode

Selected emoji will be copied to clipboard

emoji
powermenu/powermenu.sh

Lockscreen, Sleep, Logout, Reboot, Shutdown

powermenu
lollypop/launcher.pl

Add a song to queue (lollypop music player)

This will work only for my version of lollypop
lollypop

Colors

Available colors Screenshot
ef-spring ef-spring
ef-summer ef-summer
ef-trio-light ef-trio-light
ef-autumn ef-autumn
ef-bio ef-bio
ef-cherie ef-bio
ef-trio-dark ef-trio-dark
ef-winter ef-winter
modus-operandi operandi
modus-vivendi vivendi

use change-theme.pl to change the themes (fzf optionally required)

$ ~/.config/rofi/change-theme.pl 

This will use fzf to select a theme interactively

$ ~/.config/rofi/change-theme.pl bio
ef-bio.rasi' rofi theme selected

This will change theme to the first theme that has bio in its name

Ef-themes pictures

Ef-themes pictures: https://protesilaos.com/emacs/ef-themes-pictures

Thanks

Rofi styles - https://github.com/adi1090x/rofi
Modus themes - https://protesilaos.com/emacs/modus-themes-colors
Ef themes - https://protesilaos.com/emacs/ef-themes

Releases

No releases published

Packages

No packages published