Switch to using rofi-wayland, fix rofi scripts for hypr

This commit is contained in:
Evie Litherland-Smith 2023-04-12 15:46:43 +01:00
parent c13d414913
commit 18e074e6ad
4 changed files with 9 additions and 9 deletions

View file

@ -128,11 +128,11 @@ $mainMod = SUPER
bind = $mainMod, Return, exec, kitty
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, dolphin
bind = $mainMod, E, exec, ~/.dotfiles/scripts/power-profiles
bind = $mainMod, P, exec, ~/.dotfiles/scripts/powermenu
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, Space, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, Space, exec, rofi -show drun
#bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, G, togglesplit, # dwindle
bind = $mainMod, F1, exec, swaylock
bind = $mainMod, W, exec, eww open --toggle powermenu

View file

@ -12,14 +12,13 @@ in
./gtk.nix
./dunst.nix
./waybar.nix
./rofi.nix
];
home.packages = with pkgs; [
swayimg
hyprpaper
wofi
dolphin
# For EWW
jq
socat
];
@ -54,4 +53,5 @@ in
package = pkgs.eww-wayland;
configDir = ./config/eww;
};
programs.rofi.package = pkgs.rofi-wayland;
}

View file

@ -9,7 +9,7 @@
rofi-calc
];
extraConfig = {
modi = "run,drun,window,calc";
modi = "run,drun,calc";
icon-theme = "Oranchelo";
show-icons = true;
drun-display-format = "{icon} {name}";

View file

@ -117,8 +117,8 @@ menu=(
[ Reboot]="systemctl reboot"
[ Suspend]="systemctl suspend"
[ Hibernate]="systemctl hibernate"
[ Lock]="xflock4"
[ Logout]="xfce4-session-logout --logout"
[ Lock]="hyprctl dispatch exec swaylock"
[ Logout]="hyprctl dispatch exit"
[ Cancel]=""
)