Add initial autostart applications

This commit is contained in:
Sravan Balaji
2024-09-02 23:18:58 -04:00
parent 3bd02c9fb9
commit 71411f99c8
2 changed files with 18 additions and 4 deletions

View File

@@ -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[] = {

View File

@@ -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[] = {