Fix rofi for wayland
This commit is contained in:
parent
f1458b7182
commit
f4b102cd35
|
@ -16,7 +16,6 @@ window {
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
width: 800px;
|
width: 800px;
|
||||||
y-offset: -25%;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +62,7 @@ listview {
|
||||||
cycle: true;
|
cycle: true;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
layout: vertical;
|
layout: vertical;
|
||||||
fixed-height:false;
|
fixed-height:true;
|
||||||
lines: 5;
|
lines: 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ main() {
|
||||||
IFS=', ' read -r -a code <<< "$code"
|
IFS=', ' read -r -a code <<< "$code"
|
||||||
|
|
||||||
case $command in
|
case $command in
|
||||||
clipboard) echo -n "${code[-1]}" | clipboard;;
|
clipboard) echo -n "${code[-1]}" | wl-copy;;
|
||||||
type) echo -n "${code[-1]}" | type;;
|
type) echo -n "${code[-1]}" | type;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue