Session management improvements; set freetype interpreter
This commit is contained in:
parent
aa7aa06958
commit
91125fc6f2
@ -679,7 +679,7 @@ static void handle_key_event(struct yutani_msg_key_event * ke) {
|
||||
(ke->event.keycode == 't') &&
|
||||
(ke->event.action == KEY_ACTION_DOWN)) {
|
||||
|
||||
launch_application("terminal");
|
||||
launch_application("exec terminal");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -16,6 +16,17 @@
|
||||
#include <sys/wait.h>
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
|
||||
char path[1024];
|
||||
char * home = getenv("HOME");
|
||||
if (home) {
|
||||
sprintf(path, "%s/.yutanirc", home);
|
||||
char * args[] = {path, NULL};
|
||||
execvp(args[0], args);
|
||||
}
|
||||
|
||||
/* Fallback */
|
||||
|
||||
int _background_pid = fork();
|
||||
if (!_background_pid) {
|
||||
char * args[] = {"/bin/background", "--really", NULL};
|
||||
|
5
base/home/local/.yutanirc
Executable file
5
base/home/local/.yutanirc
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if stat -Lq /usr/share/fonts/DejaVuSansMono.ttf then export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
|
||||
background --really &
|
||||
exec panel --really
|
Loading…
Reference in New Issue
Block a user