1
0
forked from extern/nix-config

Add back rofi

Rofi is actually quite convenient, so it's better to leave it as an
option.
This commit is contained in:
Donovan Glover 2023-05-12 12:17:18 -04:00
parent 5ce3256383
commit 52351da1fe
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -128,6 +128,7 @@
bind = SUPER, S, togglespecialworkspace
bind = SUPER_SHIFT, S, movetoworkspace, special
bind = SUPER_SHIFT, S, togglespecialworkspace
bind = SUPER, Z, exec, rofi -show drun
bind = SUPER, Return, exec, ~/.config/hypr/swapmaster.sh
bind = SUPER, backslash, exec, ~/.config/hypr/focusmaster.sh
@ -162,6 +163,7 @@
bind = SUPER_CTRL, 5, exec, ~/.config/hypr/tags.sh 5
layerrule = blur,waybar
layerrule = blur,rofi
# Scroll through existing workspaces with super + scroll
bind = SUPER, mouse_down, workspace, e+1
@ -666,6 +668,27 @@
programs.lf = {
enable = true;
};
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
cycle = false;
extraConfig = {
modi = "drun,filebrowser";
font = "Noto Sans CJK JP 12";
show-icons = true;
bw = 0;
display-drun = "";
display-window = "";
display-combi = "";
icon-theme = "Papirus";
terminal = "kitty";
drun-match-fields = "name";
drun-display-format = "{name}";
me-select-entry = "";
me-accept-entry = "MousePrimary";
};
};
services.gpg-agent = {
enable = true;
pinentryFlavor = "curses";