hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.05k stars 32 forks source link

Reload the configuration #92

Closed arcolinuxz closed 1 year ago

arcolinuxz commented 1 year ago

Is there a shortcut to reload Hypr?

Super + Shift + R reloads awesome, bspwm etc ...

vaxerski commented 1 year ago

config is reloaded instantly on save

arcolinuxz commented 1 year ago

i know

can we get a command or something to trigger this because if we change something in any of the other files nothing gets reloaded

vaxerski commented 1 year ago

other files? What is there to reload if you didnt change the hypr config?

arcolinuxz commented 1 year ago

sxhkd, polybar, conky, networkmanager, bluetooth, ...

there is more in the hypr folder

vaxerski commented 1 year ago

okay, but hypr doesnt care about those and reloading wouldnt do anything to them.

arcolinuxz commented 1 year ago

well I have added two execs to the hypr.conf

So if I save hypr.conf in an editor it gets reloaded but what if I am NOT in an editor and I change something to the polybar or launch.sh or sxhkd or ... then it would be nice to be able to tell Hypr to reload the hypr.conf as it would load also the two execs. something like hyprc reload or something

vaxerski commented 1 year ago

there is no hyprc utility. you can touch the config tho