Open luapfr opened 4 years ago
You can try changing stylesheets, like in #1398. See: https://copyq.readthedocs.io/en/latest/theme.html
But changing background of the whole item is probably not possible using the CSS files.
You can change the Pin/Unpin commands to change also item color (here is how to add the command to CopyQ):
[Commands]
1\Command="
copyq:
var color = 'rgba(255,0,0,0.2)'
setData(mimeColor, color)
plugins.itempinned.pinData()"
1\Icon=\xf08d
1\InMenu=true
1\Input=!OUTPUT
1\Name=Pin
1\Output=application/x-copyq-item-pinned
1\Shortcut=ctrl+shift+p
2\Command="
copyq:
plugins.itempinned.unpinData()
removeData(mimeColor)"
2\Icon=\xf08d
2\InMenu=true
2\Input=application/x-copyq-item-pinned
2\Name=Unpin
2\Shortcut=ctrl+shift+p
size=2
If you want to change the text color you can try adding following to the items.css
:
ItemPinned #item_child,
ItemPinned #item_child * {
color: red;
}
The problem is that it won't work with HTML items.
Very grateful for the attention it worked. you could put these native solutions in the installation of CopyQ In a next version.
Indeed it's quite difficult to distinguish the pinned from unpinned items., especially in dark mode. If there was a way of making the small bar identifier of brighter color or otherwise more contrasting, that would help a lot.
P.S. Great, great work with this application. 🙏🏽
Indeed it's quite difficult to distinguish the pinned from unpinned items., especially in dark mode. If there was a way of making the small bar identifier of brighter color or otherwise more contrasting, that would help a lot.
P.S. Great, great work with this application. 🙏🏽
I am also interested to be able to customize that
I would like to know if there is a command that automatically lets the text color of the item read to be defined as important or fixed ?