rofi-spotlight

Spotlight-like Rofi
授权协议 MIT License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 柯正谊
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

rofi: spotlight

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


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

  • Install fd for faster file searching. Defaults to find if not installed.

Configuration:

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

  • Terminal Emulator
  • File Manager
  • Bluetooth sender

You can change the following variables in the web-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 in rofi.rasi. It uses CSS syntax. More info by executing man rofi-theme in your terminal emulator.

Credits to these people

  • 转载自:http://drawsimin.blog.163.com/blog/static/1451336820090296572522/ OS X上关闭spotlight的确可以节省很多资源  OS X 10.5 上关闭spotlight, 用到 launchctl cd /System/Library/LaunchAgents launchctl unload -w com.apple.Spo

  • 禁用spotlight 禁用分两部分,第一部分禁用服务,第二部分移除菜单栏图标,以下动作需在终端中进行 禁用方法 1,禁用spotlight服务 sudo mdutil -a -i off 2,删除菜单栏spotlight图标: cd /System/Library/CoreServices/ sudo mv Search.bundle/ Search2.bundle/ 然后在活动监视器退出 Sy

  • 1、安装 windows傻瓜式安装即可,如果安装了spolight on orcale 想要安装unix或者mysql的需要单独给出安装路径否则会覆盖之前安装的 2、查看sysstat是否安装 在Linux上,必须安装sysstat包,用户才可以获取详细的磁盘I/O信息。 执行  rpm -qa |grep sysstat 如果没有搜索到,那么需要安装 执行   yum install sysst

相关阅读

相关文章

相关问答

相关文档