Skip to content

Commit

Permalink
Hyprbars: fix hyprbar-button bgcolor (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
elviosak authored Feb 2, 2025
1 parent 1c4b446 commit eefa87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyprbars/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Hyprlang::CParseResult onNewButton(const char* K, const char* V) {

bool userfg = false;
auto fgcolor = configStringToInt("rgb(ffffff)");
auto bgcolor = configStringToInt(vars[1]);
auto bgcolor = configStringToInt(vars[0]);

if (!bgcolor) {
result.setError("invalid bgcolor");
Expand Down

0 comments on commit eefa87d

Please sign in to comment.