Fix rofi for wayland

This commit is contained in:
Thomas Avé 2023-12-05 15:03:14 +01:00
parent f1458b7182
commit f4b102cd35
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -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
}