Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Spotlight-like Rofi

License

NotificationsYou must be signed in to change notification settings

eromatiya/rofi-spotlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A spotlight-like rofi. Supports file and web search.

rofi: spotlight
rofi: spotlight

Dependencies

  • rofi-git master branch
  • python3
  • bash
  • fd (optional)
  • an icon theme (optional)

Icon themes used:

  • Papirus
  • Tela Blue

Run it by:

$ rofi -modi"Global Search":"rofi-spotlight/rofi-spotlight.sh" -show"Global Search" \-config rofi-spotlight/rofi.rasi

Recommendation

  • Installfd for faster file searching. Defaults tofind if not installed.

Configuration:

You can change the following variables in therofi-spotlight.sh

  • Terminal Emulator
  • File Manager
  • Bluetooth sender

You can change the following variables in theweb-search.py

  • Search engine
  • Web browser
  • Terminal Emulator

Available commands:

Just type them on rofi search bar:

  • :help to print the help message
  • :h or:hidden to show hidden files/directories
  • :xdg XDGDIR to jump to an xdg directory

Examples:

:xdg DOCUMENTS:xdg DOWNLOADS# Also supports incomplete path. Examples::xdg doc # Same as :xdg DOCUMENTS:xdg down # Same as :xdg DOWNLOADS# For more info about XDG dirs, see:# man xdg-user-dir

File search syntaxes:

  • !<search_query> to search for a file and web suggestions
  • ?<search_query> to search parent directories

Examples:

!half-life 3?portal 3

Web search syntaxes:

  • !<search_query> to get a search suggestions
  • :web <search_query> to also to gets search suggestions
  • :webbro <search_query> to search directly from your browser

Examples:

!how to install archlinux:web how to install gentoo:webbro how to install wine in windowsxp

TODOs:

  • Web search support
  • Cleaner bash script

Notes:

  • This is not a file manager nor a web browser. This is a file/web-searching rofi. Nothing else.
  • Default rofi design is better with blur. Rofi's appearance can be change inrofi.rasi. It uses CSS syntax. More info by executingman rofi-theme in your terminal emulator.

Credits tothese people


[8]ページ先頭

©2009-2025 Movatter.jp