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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change slider thickness [Feature] #458

Closed
Anik200 opened this issue Aug 5, 2024 · 14 comments
Closed

change slider thickness [Feature] #458

Anik200 opened this issue Aug 5, 2024 · 14 comments

Comments

@Anik200
Copy link

Anik200 commented Aug 5, 2024

Please read through the README and the Man pages before submitting
Please also make sure that there isn't any prior issue describing this feature

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
image
is there any way to chnage the thickness of the sliders

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@ErikReider
Copy link
Owner

That would be through custom CSS styling :)

@Anik200
Copy link
Author

Anik200 commented Aug 5, 2024

Please a bit of an example since i have no custom css experience

That would be through custom CSS styling :)

@retrozinndev
Copy link

Please a bit of an example since i have no custom css experience

You can use padding in the highlight element.

trough highlight { /* ´trough´ is the background of the slider, ´highlight´ is the actual slider */
    padding: 5px;
}

@Anik200
Copy link
Author

Anik200 commented Aug 6, 2024

image

Please a bit of an example since i have no custom css experience

You can use padding in the highlight element.

trough highlight { /* ´trough´ is the background of the slider, ´highlight´ is the actual slider */
    padding: 5px;
}

that didn't do anything

@Anik200
Copy link
Author

Anik200 commented Aug 6, 2024

image
i tried this too but same

@Anik200
Copy link
Author

Anik200 commented Aug 6, 2024

no worries it worked but how do i increase the size of the knob
image

@retrozinndev
Copy link

no worries it worked but how do i increase the size of the knob

I do not know the name of the element, but I think you can do so like this:

trough highlight > *:first-child {
    padding: 5px;
}

@retrozinndev
Copy link

retrozinndev commented Aug 6, 2024

Actually, I just found out, the knob is the slider element, you can put it like this:

trough highlight slider {
     padding: 5px;
}

@Anik200
Copy link
Author

Anik200 commented Aug 6, 2024

image

Actually, I just found out, the knob is the slider element, you can put it like this:

trough highlight slider {
     padding: 5px;
}

it didnt work...

@retrozinndev
Copy link

retrozinndev commented Aug 6, 2024

Curious... It changes the size of all the slider elements... I'll test here and see what I can do about that.

Edit: Actually, it's not curious haha, it makes sense.

@retrozinndev
Copy link

retrozinndev commented Aug 6, 2024

The slider indicator is before the highlight element. You can change it's padding with:

trough slider {
    padding: 5px;
}

@retrozinndev
Copy link

A tip for you: You don't need to restart SwayNC to reload configurations, you can just use swaync-client's commands:

swaync-client -R # Reloads ´config.json´
swaync-client -rs # Reloads stylesheet

@Anik200
Copy link
Author

Anik200 commented Aug 7, 2024

The slider indicator is before the highlight element. You can change it's padding with:

trough slider {
    padding: 5px;
}

thanks again! it works
but how do i edit/remove this "No Notifications" prompt

image

@ErikReider
Copy link
Owner

The slider indicator is before the highlight element. You can change it's padding with:

trough slider {
    padding: 5px;
}

thanks again! it works but how do i edit/remove this "No Notifications" prompt

image

There's currently no way of doing that. See #450 for future updates regarding that :)

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

No branches or pull requests

3 participants