hyprland update binds

Switch rofi to use drun instead of combi by default

Add rofi ssh bind
This commit is contained in:
Evie Litherland-Smith 2024-02-29 10:44:14 +00:00
parent 7912356eb6
commit 0981d5dbe7
2 changed files with 11 additions and 9 deletions

View file

@ -257,21 +257,24 @@
"SUPER, V, togglefloating"
"SUPER, F, fullscreen, 0" # Actual fullscreen
"SUPER, M, fullscreen, 1" # Maximise window
"SUPER, tab, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show window"
"SUPER, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw"
"SUPER SHIFT, Z, exec, ${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw"
# Configure rofi-pass binds
"SUPER, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass"
"SUPER SHIFT, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass --last-used"
"SUPER ALT, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass --insert"
# Common program shortcuts
"SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show combi"
"SUPER, Return, exec, ${alacritty.package}/bin/alacritty"
"SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket"
# Rofi binds
"SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun"
"SUPER, tab, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show window"
"SUPER SHIFT, Return, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show ssh"
# rofi-pass binds
"SUPER, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass"
"SUPER SHIFT, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass --last-used"
"SUPER ALT, P, exec, pkill rofi || ${rofi.pass.package}/bin/rofi-pass --insert"
# Terminal utilities
"SUPER, S, exec, ${withTerm {
progname = "btm";

View file

@ -1,6 +1,5 @@
{
config,
pkgs,
accentColour,
...
}: {
@ -15,7 +14,7 @@
'';
};
extraConfig = {
modi = "combi,drun,ssh,window";
modi = "drun,ssh,window,combi";
combi-modi = "window,drun,ssh";
sidebar-mode = true;
sort = true;