Skip to content

add image to winops.widget #250

Closed Answered by 01micko
knm100 asked this question in Q&A
Oct 18, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
menu("winops") {
  item(" focus%gtk-find", Focus );
  item(" close%window-close-symbolic", Close );
  item(" (un)minimize%window-minimize-symbolic", Function "ToggleMinimize" );
  item(" (un)maximize%window-maximize-symbolic", Function "ToggleMaximize" );
}

This is using stock icons but you can use /path/to/icon.[png|svg].

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@knm100
Comment options

Answer selected by knm100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants