HyDE-Project / Hyde-cli

A HyDE CLI, wrapper, tweaks , workarounds, and more!
https://github.com/prasanthrangan/hyprdots
GNU General Public License v3.0
113 stars 10 forks source link

Feature: Hyde waybar style #52

Open rubiin opened 6 months ago

rubiin commented 6 months ago

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 commented 6 months ago

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

kRHYME7 commented 6 months ago

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 commented 6 months ago

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

rubiin commented 6 months ago

Similar feature I guess https://github.com/prasanthrangan/hyprdots/issues/1300

rubiin commented 5 months ago

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

kRHYME7 commented 5 months ago

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 commented 5 months ago

whole waybar layout

rubiin commented 2 months ago

@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 commented 2 months ago

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 commented 2 months ago

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

rubiin commented 2 months ago

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