Skip to content

rofi: support SVG icons - #107156

Closed
pbogdan wants to merge 1 commit into
NixOS:masterfrom
pbogdan:rofi-svg
Closed

pbogdan wants to merge 1 commit into
NixOS:masterfrom
pbogdan:rofi-svg

Conversation

@pbogdan

@pbogdan pbogdan commented Dec 18, 2020 •

Copy link
Copy Markdown
Member
Motivation for this change

Rofi can't render SVG icons.

I don't use any rofi plugins so haven't tested those.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@teto

teto commented Dec 18, 2020

Copy link
Copy Markdown
Member

any example of an app to check this PR with ?

@pbogdan

pbogdan commented Dec 18, 2020

Copy link
Copy Markdown
Member Author

Off top my head Emacs uses an .svg icon on my system. You can also run:

$ G_MESSAGES_DEBUG=Helpers.IconFetcher rofi -show drun -show-icons

which will list supported image formats and compare before / after.

@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 20, 2020
@SuperSandro2000

Copy link
Copy Markdown
Member

@pbogdan please resolve the merge conflict.

@SuperSandro2000 SuperSandro2000 added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 18, 2021
@pbogdan pbogdan closed this Jan 20, 2021
@kanashimia

Copy link
Copy Markdown
Member

Why did you close this?

@kanashimia kanashimia mentioned this pull request Jan 25, 2021
4 of 10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge conflict This PR has merge conflicts with the target branch 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants