reorganize keymaps and add screen resolution to fluxbox menu

This commit is contained in:
TomasM
2017-11-14 12:20:36 -05:00
parent 04977547aa
commit 6361bfb52b
2 changed files with 49 additions and 41 deletions
@@ -74,6 +74,10 @@ rm -f $SIGNAL2 2>/dev/null
exec systrayicon --command fblogout --iconfile /usr/share/icons/locolor/16x16/actions/system-shutdown-symbolic.png
) &
# gen screen resolutions to fluxbox menu
xrandr 2>/dev/null | fgrep x | fgrep . | sort -n | tr -s " " | cut -d " " -f 2 \
| sed -r "s:(.*):[exec] (\\1) {xrandr -s \\1}:" > ~/.fluxbox/menu_resolution
# In all cases, wait for the sound sleeper.
# If startup took longer (sound completed already), no extra wait
wait $SOUNDPID