Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toggle button #304

Merged
merged 8 commits into from
Nov 12, 2023
Merged

Add toggle button #304

merged 8 commits into from
Nov 12, 2023

Conversation

JannisPetschenka
Copy link
Contributor

Issue #284

Had some spare time :)
The only issue I see is that the button doesn't "poll" for changes, so if you change the button-state from outside swaync the button stays active/non-active and would be out of sync 馃檭 Don't know what the best way to go about that would be :)

@ErikReider
Copy link
Owner

LMK when you want a review :)

@JannisPetschenka JannisPetschenka marked this pull request as ready for review August 15, 2023 15:28
@JannisPetschenka
Copy link
Contributor Author

LMK when you want a review :)

Should be ready now :)

@ErikReider
Copy link
Owner

Sorry for the delay, I've been in the process of moving so haven't really had any time for reviewing. I'll take a look at this tomorrow when I'm a bit more awake. Don't be afraid to ping me if I forget :)

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the verrry late review...

src/controlCenter/widgets/baseWidget.vala Outdated Show resolved Hide resolved
src/controlCenter/widgets/baseWidget.vala Outdated Show resolved Hide resolved
src/controlCenter/widgets/menubar/menubar.vala Outdated Show resolved Hide resolved
src/style.css Outdated Show resolved Hide resolved
src/controlCenter/widgets/shared/toggleButton.vala Outdated Show resolved Hide resolved
src/controlCenter/widgets/shared/toggleButton.vala Outdated Show resolved Hide resolved
man/swaync.5.scd Show resolved Hide resolved
@JannisPetschenka
Copy link
Contributor Author

Sorry for the verrry late review...

No worries, don't have a lot of time myself at the moment. It might take me a couple of weeks to find the time and look at the comments :)

@JannisPetschenka
Copy link
Contributor Author

Also might add a option to set the toggle active state depending on the output of a script on_cc_visibility_change.

added this. So should be ready now :)

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry again for the delay....

src/controlCenter/widgets/menubar/menubar.vala Outdated Show resolved Hide resolved
src/controlCenter/widgets/buttonsGrid/buttonsGrid.vala Outdated Show resolved Hide resolved
src/controlCenter/widgets/menubar/menubar.vala Outdated Show resolved Hide resolved
src/controlCenter/widgets/menubar/menubar.vala Outdated Show resolved Hide resolved
src/functions.vala Outdated Show resolved Hide resolved
src/functions.vala Outdated Show resolved Hide resolved
@JannisPetschenka
Copy link
Contributor Author

Sorry again for the delay....

No worries :)
Uncrustify is really messing me up 馃槅 .. It just doesn't want to work properly on my new System... Hopefully its good now :)

@ErikReider
Copy link
Owner

It just doesn't want to work properly on my new System

Same here... I think that uncrustify is the only formatter that works with vala... I'm kinda starting to regret using vala... 馃槄

I might wanna start discussing #76 again

@JannisPetschenka
Copy link
Contributor Author

Done! :)

It just doesn't want to work properly on my new System

Same here... I think that uncrustify is the only formatter that works with vala... I'm kinda starting to regret using vala... 馃槄

I might wanna start discussing #76 again

Yeah, and the ls for vala is kinda annoying (at least on my setup) 馃檭
Lmk when you actually decide to change the language, might be open to help (depending on the language 馃槃 )

Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks again! :)

@ErikReider ErikReider merged commit b7631c7 into ErikReider:main Nov 12, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants