From: martin f. krafft Date: Fri, 9 Sep 2016 09:35:03 +0000 (+0200) Subject: add a sleep to prevent loops too quick if awesome doesn't start X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/07623822e064dad3aba4eac4a6feafc260913a6e add a sleep to prevent loops too quick if awesome doesn't start --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index e3a725d..f795500 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -19,14 +19,6 @@ require("debian.menu") -- {{{ Variable definitions -- Themes define colours, icons, and wallpapers --- The default is a dark theme -theme_path = "/usr/share/awesome/themes/default/theme.lua" --- Uncommment this for a lighter theme --- theme_path = "/usr/share/awesome/themes/sky/theme.lua" - -wallpaper_cmd = { "awsetbg -t .config/awesome/bgstripes.png" } - --- Actually load theme beautiful.init(theme_path) -- This is used later as the default terminal and editor to run. diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index a322305..770de83 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,4 +1,6 @@ -export _JAVA_AWT_WM_NONREPARENTING=1 +sleep 10 & +sleeppid=$! + if [ -x ~/code/awesome/awesome ]; then ~/code/awesome/awesome elif [[ -x =awesome ]]; then @@ -6,3 +8,5 @@ elif [[ -x =awesome ]]; then else x-window-manager fi + +wait $sleeppid