From f4b102cd359c2d07d971f3e54cd63ef4b24dad2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Tue, 5 Dec 2023 15:03:14 +0100 Subject: [PATCH] Fix rofi for wayland --- rofi/material-ocean.rasi | 3 +-- rofi/rofi-ykman.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rofi/material-ocean.rasi b/rofi/material-ocean.rasi index ced3b03..b285966 100644 --- a/rofi/material-ocean.rasi +++ b/rofi/material-ocean.rasi @@ -16,7 +16,6 @@ window { background-color: @background; text-color: @foreground; width: 800px; - y-offset: -25%; border-radius: 5px; } @@ -63,7 +62,7 @@ listview { cycle: true; dynamic: true; layout: vertical; - fixed-height:false; + fixed-height:true; lines: 5; } diff --git a/rofi/rofi-ykman.sh b/rofi/rofi-ykman.sh index 6a6b78c..b53072e 100755 --- a/rofi/rofi-ykman.sh +++ b/rofi/rofi-ykman.sh @@ -57,7 +57,7 @@ main() { IFS=', ' read -r -a code <<< "$code" case $command in - clipboard) echo -n "${code[-1]}" | clipboard;; + clipboard) echo -n "${code[-1]}" | wl-copy;; type) echo -n "${code[-1]}" | type;; esac }