Created
March 8, 2020 14:08
-
-
Save dualfade/029b6f7e217505fb1fcc9a32b864b365 to your computer and use it in GitHub Desktop.
awesome autorun blackarch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% cat /etc/xdg/awesome/rc.lua | |
----- snip ------ | |
-- autorun | |
-- https://wiki.archlinux.org/index.php/Awesome#Autostart | |
awful.spawn.with_shell("/etc/xdg/awesome/autorun.sh") | |
% cat /etc/xdg/awesome/autorun.sh | |
#!/usr/bin/env bash | |
function run { | |
if ! pgrep -f $1 ; | |
then | |
$@& | |
fi | |
} | |
# run [program] [args] | |
run /home/dualfade/Scripts/displays.sh & | |
run /usr/bin/sudo /usr/bin/ufw enable & | |
run /usr/bin/keybase login dualfade && /usr/bin/systemctl start --user kbfs & | |
run /usr/bin/picom --config ~/.config/picom/picom.conf & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment