Added hyprctl reload
This commit is contained in:
parent
aa5b0d2cda
commit
39dcfa61c3
4 changed files with 14 additions and 2 deletions
|
|
@ -555,9 +555,10 @@ void CConfigManager::tick() {
|
|||
}
|
||||
|
||||
// check if we need to reload cfg
|
||||
if (fileStat.st_mtime != lastModifyTime) {
|
||||
if (fileStat.st_mtime != lastModifyTime || m_bForceReload) {
|
||||
lastModifyTime = fileStat.st_mtime;
|
||||
|
||||
m_bForceReload = false;
|
||||
|
||||
loadConfigLoadVars();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue