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, Return, exec, kitty
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit, 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, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, Space, exec, rofi -show drun
bind = $mainMod, Space, exec, wofi --show drun #bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, G, togglesplit, # dwindle bind = $mainMod, G, togglesplit, # dwindle
bind = $mainMod, F1, exec, swaylock bind = $mainMod, F1, exec, swaylock
bind = $mainMod, W, exec, eww open --toggle powermenu bind = $mainMod, W, exec, eww open --toggle powermenu

View file

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

View file

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

View file

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