.xinitrc: Fix wpgen invocation
This commit is contained in:
parent
4412f146c2
commit
da9b59d7a2
2
.wpgen
2
.wpgen
@ -1 +1 @@
|
|||||||
Subproject commit e892a42897fbd36c27dee4fb1e199ba594116d7a
|
Subproject commit 8922d4ebc53c32d1fbd0476813df685f43ed727c
|
5
.xinitrc
5
.xinitrc
@ -1,7 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -x "$HOME/.wpgen/wpgen" ]; then
|
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
|
fi
|
||||||
if [ -x "$HOME/.config/conky/gen.sh" ]; then
|
if [ -x "$HOME/.config/conky/gen.sh" ]; then
|
||||||
"$HOME/.config/conky/gen.sh"
|
"$HOME/.config/conky/gen.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user