From 71411f99c881f1d5de205f38a0dddf45ba287e38 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Mon, 2 Sep 2024 23:18:58 -0400 Subject: [PATCH] Add initial autostart applications --- README.org | 11 +++++++++-- config.h | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 9b5d5c6..e06d973 100644 --- a/README.org +++ b/README.org @@ -99,7 +99,14 @@ static int log_level = WLR_ERROR; #+BEGIN_SRC c :tangle config.h #if AUTOSTART_PATCH static const char *const autostart[] = { - "wbg", "/path/to/your/image", NULL, + "/usr/libexec/polkit-gnome-authentication-agent-1", NULL, + "/usr/bin/kdeconnectd", "--replace", NULL, + "/usr/bin/foot", "-s", NULL, + "/usr/bin/bash", "/home/sravan/.scripts/dunst.sh", "--on", NULL, + "/usr/bin/nextcloud", NULL, + "/usr/bin/syncthing-gtk", NULL, + "/usr/bin/openrgb", NULL, + "/usr/bin/udiskie", "-a", "-n", "-s", NULL, NULL /* terminate */ }; #endif // AUTOSTART_PATCH @@ -226,7 +233,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA ** Commands #+BEGIN_SRC c :tangle config.h -static const char *termcmd[] = { "kitty", NULL }; +static const char *termcmd[] = { "footclient", NULL }; static const char *menucmd[] = { "wofi", "--show", "drun", NULL }; static const Key keys[] = { diff --git a/config.h b/config.h index 495f860..064fa24 100644 --- a/config.h +++ b/config.h @@ -20,7 +20,14 @@ static int log_level = WLR_ERROR; #if AUTOSTART_PATCH static const char *const autostart[] = { - "wbg", "/path/to/your/image", NULL, + "/usr/libexec/polkit-gnome-authentication-agent-1", NULL, + "/usr/bin/kdeconnectd", "--replace", NULL, + "/usr/bin/foot", "-s", NULL, + "/usr/bin/bash", "/home/sravan/.scripts/dunst.sh", "--on", NULL, + "/usr/bin/nextcloud", NULL, + "/usr/bin/syncthing-gtk", NULL, + "/usr/bin/openrgb", NULL, + "/usr/bin/udiskie", "-a", "-n", "-s", NULL, NULL /* terminate */ }; #endif // AUTOSTART_PATCH @@ -119,7 +126,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } -static const char *termcmd[] = { "kitty", NULL }; +static const char *termcmd[] = { "footclient", NULL }; static const char *menucmd[] = { "wofi", "--show", "drun", NULL }; static const Key keys[] = {