diff --git a/.wpgen b/.wpgen index e892a428..8922d4eb 160000 --- a/.wpgen +++ b/.wpgen @@ -1 +1 @@ -Subproject commit e892a42897fbd36c27dee4fb1e199ba594116d7a +Subproject commit 8922d4ebc53c32d1fbd0476813df685f43ed727c diff --git a/.xinitrc b/.xinitrc index 27a37a84..17f81caf 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,7 +1,10 @@ #!/bin/bash if [ -x "$HOME/.wpgen/wpgen" ]; then - "$HOME/.wpgen/wpgen" + resolutions=($(xrandr -q | grep '*' | awk '{print $1}')) + for res in ${resolutions[@]}; do + "$HOME/.wpgen/wpgen" "$res" + done fi if [ -x "$HOME/.config/conky/gen.sh" ]; then "$HOME/.config/conky/gen.sh"