在 KDE 下配置了一个简单的 Rofi。
ArchWiki:Rofi
安装
Wiki 中说需要安装 roficommunity 需要在 Xorg 显示管理器下使用,如果是 Wayland,请安装
sudo pacman -S rofi
生成配置文件
mkdir -p ~/.config/rofi
rofi -dump-config > ~/.config/rofi/config.rasi
我的配置如下,不需要过多配置,按个人需求调整。
主题
Gtihub:https://github.com/newmanls/rofi-themes-collection
这里选择了 rounded-nord-dark
git clone https://github.com/lr-tech/rofi-themes-collection.git
cd rofi-themes-collection
mkdir -p ~/.local/share/rofi/themes/
cp themes/rounded-common.rasi themes/rounded-nord-dark.rasi ~/.local/share/rofi/themes/
然后运行 rofi-theme-selector
,找到对应的主题设置即可。
设置快捷键
打开设置 -> 快捷键 -> 自定义快捷键 -> 编辑 -> 新建组
之后 新建 -> 全局快捷键 -> 命令/URL
命令设置为 rofi -show run
就行。