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