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

Feature: Hyde waybar style #52

Open
rubiin opened this issue May 13, 2024 · 11 comments
Open

Feature: Hyde waybar style #52

rubiin opened this issue May 13, 2024 · 11 comments

Comments

@rubiin
Copy link
Contributor

rubiin commented May 13, 2024

This will use fzf to list out all styles in config.ctl and display in a list. When user clicks an entry, the style is applied

@rubiin
Copy link
Contributor Author

rubiin commented May 13, 2024

Right now we have to use Hyde waybar control and manually set the style to 1 . This will make it easier

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 13, 2024

Right now we have to use Hyde waybar control and manually set the style to

The waybar control is used to modify the modules, users needs to use keybindings to toggle waybar layouts.

This will use fzf to list out all styles in config.ctl and display in a list. When user clicks an entry, the style is applied

Yes, will try to do it.

@rubiin
Copy link
Contributor Author

rubiin commented May 13, 2024

You can create a Draft pr , I may provide some inputs

@rubiin
Copy link
Contributor Author

rubiin commented May 13, 2024

Similar feature I guess
prasanthrangan/hyprdots#1300

@rubiin
Copy link
Contributor Author

rubiin commented Jun 15, 2024

found a simple implementation https://github.com/AXWTV/Hyprland-DotFiles/blob/7a011d0e962b9ebcdc9ed51fa9c14eaf195fc042/config/hypr/configs/Keybinds.conf#L43

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Jun 15, 2024

I peak on the implementation, but this is only for style not modules, right? It tries to select themes for static modules. (we can make it dynamic too).

My question is what do you really mean by "style" is it the css or the whole waybar layout?

@rubiin
Copy link
Contributor Author

rubiin commented Jun 17, 2024

whole waybar layout

@rubiin
Copy link
Contributor Author

rubiin commented Sep 10, 2024

@kRHYME7 here is a script maybe you can see how he is doing it https://github.com/JaKooLit/Hyprland-Dots/blob/main/config/hypr/scripts/WaybarStyles.sh

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 10, 2024

Can you help me modify and implement this on the wbarconfgent.sh and the wbarstylegen.sh

This one is for ` wbarconfgen.sh

conf_file="${WAYBAR_CONFIG:-$waybar_dir/config.jsonc}"

for the wbarsylegen.sh

out_file="${WAYBAR_STYLE:-$waybar_dir/style.css}"

You can test first by
image

ls now we got a custom generated waybar files
image

Now after having this minor change in the HyDE repo the CLI can now generete a configuration and css file somewhere where the CLI can just use it to preview the waybar configuration

I really forgot this thread, sorry.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented Sep 10, 2024

Also I will try to open a feat req to rofi. If it's possible to run a command on hovered.

@rubiin
Copy link
Contributor Author

rubiin commented Sep 10, 2024

Sure

Can you help me modify and implement this on the wbarconfgent.sh and the wbarstylegen.sh

This one is for ` wbarconfgen.sh

conf_file="${WAYBAR_CONFIG:-$waybar_dir/config.jsonc}"

for the wbarsylegen.sh

out_file="${WAYBAR_STYLE:-$waybar_dir/style.css}"

You can test first by image

ls now we got a custom generated waybar files image

Now after having this minor change in the HyDE repo the CLI can now generete a configuration and css file somewhere where the CLI can just use it to preview the waybar configuration

I really forgot this thread, sorry.

Sure . I will give it a try

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

2 participants