Switch back to rofi for drun replacement
Add rofi-pass for interacting with password-store
This commit is contained in:
parent
134d5b8031
commit
5e579e3113
|
@ -80,16 +80,17 @@ in ''
|
|||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
bind = SUPER, F1, exec, ${swaylockPackage}/bin/swaylock
|
||||
bind = SUPER, M, fullscreen, 0
|
||||
bind = SUPER, P, exec, pkill rofi || ${pkgs.rofi-pass}/bin/rofi-pass
|
||||
bind = SUPER SHIFT, M, fullscreen, 1
|
||||
bind = SUPER SHIFT, Q, killactive,
|
||||
bind = SUPER SHIFT, Space, togglefloating
|
||||
bind = SUPER SHIFT, P, exec, pkill rofi || ${rofiPackage}/bin/rofi -show power-menu
|
||||
|
||||
# Common program shortcuts
|
||||
bind = SUPER, Space, exec, pkill rofi || ${rofiPackage}/bin/rofi -show drun
|
||||
bind = SUPER, Return, exec, ${pkgs.alacritty}/bin/alacritty
|
||||
bind = SUPER SHIFT, Return, exec, [float] ${pkgs.alacritty}/bin/alacritty
|
||||
bind = SUPER SHIFT, Return, exec, pkill rofi || ${rofiPackage}/bin/rofi -show drun
|
||||
|
||||
bind = SUPER, Space, exec, ${anyrunPackage}/bin/anyrun
|
||||
bind = SUPER ALT, Space, submap, launch
|
||||
bind = SUPER ALT, E, exec, ${emacsPackage}/bin/emacsclient -c -a 'emacs'
|
||||
bind = SUPER ALT, W, exec, [workspace 2] ${firefoxPackage}/bin/firefox
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
{ pkgs, config, ... }:
|
||||
let icon-theme = config.gtk.iconTheme.name;
|
||||
in {
|
||||
home.packages = with pkgs; [ rofi-power-menu ];
|
||||
home.packages = with pkgs; [ rofi-pass rofi-power-menu ];
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
location = "center";
|
||||
pass.enable = true;
|
||||
extraConfig = {
|
||||
modi =
|
||||
"run,drun,ssh,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
|
||||
modi = "run,drun,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
|
||||
sort = true;
|
||||
sorting-method = "fzf";
|
||||
matching = "fuzzy";
|
||||
|
@ -20,8 +19,6 @@ in {
|
|||
hide-scrollbar = true;
|
||||
display-run = " Commands ";
|
||||
display-drun = " Programs ";
|
||||
display-ssh = " SSH ";
|
||||
display-file-browser-extended = " File Browser ";
|
||||
display-power-menu = " Power Menu ";
|
||||
};
|
||||
theme = ./theme.rasi;
|
||||
|
|
Loading…
Reference in a new issue