Fix rofi-pass for wayland

This commit is contained in:
Evie Litherland-Smith 2023-09-05 18:44:29 +01:00
parent 5a7cbee56d
commit 2ea2aff32d
3 changed files with 6 additions and 2 deletions

View file

@ -36,6 +36,10 @@ in {
rofi = { rofi = {
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
terminal = "${pkgs.alacritty}/bin/alacritty"; terminal = "${pkgs.alacritty}/bin/alacritty";
pass.extraConfig = ''
backend=wtype
clibpoard_backend=wl-clipboard
'';
}; };
}; };
services.kanshi = { services.kanshi = {

View file

@ -1,7 +1,7 @@
{ 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-pass rofi-power-menu ]; home.packages = with pkgs; [ rofi-power-menu ];
programs.rofi = { programs.rofi = {
enable = true; enable = true;
location = "center"; location = "center";
@ -19,7 +19,6 @@ in {
hide-scrollbar = true; hide-scrollbar = true;
display-run = " 󰅴 Commands "; display-run = " 󰅴 Commands ";
display-drun = " 󱓞 Programs "; display-drun = " 󱓞 Programs ";
display-power-menu = " 󰩈 Power Menu ";
}; };
theme = ./theme.rasi; theme = ./theme.rasi;
}; };

View file

@ -7,6 +7,7 @@
hyprpaper hyprpaper
pipewire pipewire
wireplumber wireplumber
wtype
wl-clipboard wl-clipboard
grim grim
slurp slurp