Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name

This commit is contained in:
dec05eba
2024-12-16 02:21:38 +01:00
parent 970d87975b
commit ebd8c2726b
11 changed files with 480 additions and 450 deletions

View File

@@ -1374,6 +1374,7 @@ namespace gsr {
}
}
// TODO: Instead of checking power supply status periodically listen to power supply event
void Overlay::update_power_supply_status() {
if(config.replay_config.turn_on_replay_automatically_mode != "turn_on_at_power_supply_connected")
return;