diff --git a/.config/autostart-scripts/00-backlight.sh b/.config/autostart-scripts/00-backlight.sh new file mode 100755 index 0000000..52cfa35 --- /dev/null +++ b/.config/autostart-scripts/00-backlight.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +xbacklight -set 1 diff --git a/.config/autostart-scripts/10-xbindkeys.sh b/.config/autostart-scripts/10-xbindkeys.sh new file mode 100755 index 0000000..535f11e --- /dev/null +++ b/.config/autostart-scripts/10-xbindkeys.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ "$DESKTOP_SESSION" == "lxqt" ]; then + /usr/bin/xbindkeys +fi diff --git a/.config/autostart-scripts/99-ssh-add.sh b/.config/autostart-scripts/99-ssh-add.sh new file mode 100755 index 0000000..6b1bb5f --- /dev/null +++ b/.config/autostart-scripts/99-ssh-add.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ "$DESKTOP_SESSION" == "lxqt" ]; then + /usr/bin/ssh-add & +fi diff --git a/.config/autostart-scripts/run_all.sh b/.config/autostart-scripts/run_all.sh new file mode 100755 index 0000000..01369e4 --- /dev/null +++ b/.config/autostart-scripts/run_all.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +for i in ~/.config/autostart-scripts/*.sh; do + if [ "${0/*\//}" == "${i/*\//}" ]; then continue; fi + "$i" +done