From 2ea2aff32d4d02fbf6d55e22e705ca93f1073e79 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 5 Sep 2023 18:44:29 +0100 Subject: [PATCH] Fix rofi-pass for wayland --- home/hyprland/default.nix | 4 ++++ home/hyprland/rofi/default.nix | 3 +-- hosts/hyprland.nix | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 15b0b67b..abf2785e 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -36,6 +36,10 @@ in { rofi = { package = pkgs.rofi-wayland; terminal = "${pkgs.alacritty}/bin/alacritty"; + pass.extraConfig = '' + backend=wtype + clibpoard_backend=wl-clipboard + ''; }; }; services.kanshi = { diff --git a/home/hyprland/rofi/default.nix b/home/hyprland/rofi/default.nix index ad6ab015..bbb74668 100644 --- a/home/hyprland/rofi/default.nix +++ b/home/hyprland/rofi/default.nix @@ -1,7 +1,7 @@ { pkgs, config, ... }: let icon-theme = config.gtk.iconTheme.name; in { - home.packages = with pkgs; [ rofi-pass rofi-power-menu ]; + home.packages = with pkgs; [ rofi-power-menu ]; programs.rofi = { enable = true; location = "center"; @@ -19,7 +19,6 @@ in { hide-scrollbar = true; display-run = " 󰅴 Commands "; display-drun = " 󱓞 Programs "; - display-power-menu = " 󰩈 Power Menu "; }; theme = ./theme.rasi; }; diff --git a/hosts/hyprland.nix b/hosts/hyprland.nix index aafa0fac..93b214ea 100644 --- a/hosts/hyprland.nix +++ b/hosts/hyprland.nix @@ -7,6 +7,7 @@ hyprpaper pipewire wireplumber + wtype wl-clipboard grim slurp