diff --git a/.xinitrc b/.xinitrc old mode 100755 new mode 100644 index 8fee79e..e4b756f --- a/.xinitrc +++ b/.xinitrc @@ -1,5 +1,10 @@ #!/bin/sh +# Start a D-Bus session if one is not already available +if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ]; then +exec dbus-run-session -- "$0" "$@" +fi + # GTK Theming export GTK_THEME=Adwaita:dark diff --git a/dmenu/dmenu_path b/dmenu/dmenu_path old mode 100755 new mode 100644 diff --git a/dmenu/dmenu_path_desktop b/dmenu/dmenu_path_desktop old mode 100755 new mode 100644 diff --git a/dmenu/dmenu_run b/dmenu/dmenu_run old mode 100755 new mode 100644 diff --git a/dmenu/dmenu_run_desktop b/dmenu/dmenu_run_desktop old mode 100755 new mode 100644 diff --git a/dwm/config/commands.h b/dwm/config/commands.h index 12a0957..e632a50 100644 --- a/dwm/config/commands.h +++ b/dwm/config/commands.h @@ -1,33 +1,33 @@ /* commands */ -static const char *dmenucmd[] = - { "sh", "-c", - "export XDG_DATA_DIRS=" - "\"$HOME/.local/share/flatpak/exports/share:" - "/var/lib/flatpak/exports/share:" - "${XDG_DATA_DIRS:-/usr/local/share:/usr/share}\"; " - "exec dmenu_run_desktop \"$@\"", - "dmenu_run_desktop", - "-p", "launch an app:", +// static const char *dmenucmd[] = +// { "sh", "-c", +// "export XDG_DATA_DIRS=" +// "\"$HOME/.local/share/flatpak/exports/share:" +// "/var/lib/flatpak/exports/share:" +// "${XDG_DATA_DIRS:-/usr/local/share:/usr/share}\"; " +// "exec dmenu_run_desktop \"$@\"", +// "dmenu_run_desktop", +// "-p", "launch an app:", +// "-l", "10", "-g", "2", +// "-m", dmenumon, "-fn", dmenufont, +// "-nb", col_gray1, "-nf", col_gray3, +// "-sb", col_main, "-sf", col_gray4, +// NULL }; + +static const char *dmenucmd[] = + { "dmenu_run_desktop", "-p", "launch an app:", "-l", "10", "-g", "2", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_main, "-sf", col_gray4, NULL }; -// static const char *dmenucmd[] = -// { "dmenu_run_desktop", "-p", "launch an app:", -// "-l", "10", "-g", "2", -// "-m", dmenumon, "-fn", dmenufont, -// "-nb", col_gray1, "-nf", col_gray3, -// "-sb", col_main, "-sf", col_gray4, -// NULL }; - -static const char *termcmd[] = +static const char *termcmd[] = { "st", NULL }; -static const char *djcmd[] = +static const char *djcmd[] = { "dj.sh", NULL }; -static const char *webbrowsercmd[] = +static const char *webbrowsercmd[] = { "firefox", NULL }; diff --git a/dwmblocks/modules/status-battery b/dwmblocks/modules/status-battery old mode 100755 new mode 100644 diff --git a/dwmblocks/modules/status-datetime b/dwmblocks/modules/status-datetime old mode 100755 new mode 100644 diff --git a/dwmblocks/modules/status-music b/dwmblocks/modules/status-music old mode 100755 new mode 100644 diff --git a/dwmblocks/modules/status-network b/dwmblocks/modules/status-network old mode 100755 new mode 100644 diff --git a/dwmblocks/modules/status-volume b/dwmblocks/modules/status-volume old mode 100755 new mode 100644 diff --git a/install.sh b/install.sh old mode 100755 new mode 100644