mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
WindowServer: Move configuration file to /etc/WindowServer.ini
This was in the /etc/WindowServer/ directory which had nothing else in it, so let's just get rid of the directory and move this up one step.
This commit is contained in:
parent
b88b19272e
commit
def1f1444a
9 changed files with 13 additions and 13 deletions
|
@ -34,8 +34,8 @@ int main(int, char**)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (unveil("/etc/WindowServer/WindowServer.ini", "rwc") < 0) {
|
||||
perror("unveil /etc/WindowServer/WindowServer.ini");
|
||||
if (unveil("/etc/WindowServer.ini", "rwc") < 0) {
|
||||
perror("unveil /etc/WindowServer.ini");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ int main(int, char**)
|
|||
return 1;
|
||||
}
|
||||
|
||||
auto wm_config = Core::ConfigFile::open("/etc/WindowServer/WindowServer.ini");
|
||||
auto wm_config = Core::ConfigFile::open("/etc/WindowServer.ini");
|
||||
auto theme_name = wm_config->read_entry("Theme", "Name", "Default");
|
||||
|
||||
auto theme = Gfx::load_system_theme(String::formatted("/res/themes/{}.ini", theme_name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue