Fix rofi for wayland
This commit is contained in:
parent
f1458b7182
commit
f4b102cd35
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue