-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5bcb7f1
commit 1b18836
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
cd "${0%/*}"; | ||
if [ `uname` = "Darwin" ]; then | ||
env IMGUI_DIALOG_WIDTH=720 IMGUI_DIALOG_HEIGHT=380 IMGUI_DIALOG_THEME=2 IMGUI_TEXT_COLOR_0=1 IMGUI_TEXT_COLOR_1=1 IMGUI_TEXT_COLOR_2=1 IMGUI_HEAD_COLOR_0=0.35 IMGUI_HEAD_COLOR_1=0.35 IMGUI_HEAD_COLOR_2=0.35 IMGUI_AREA_COLOR_0=0.05 IMGUI_AREA_COLOR_1=0.05 IMGUI_AREA_COLOR_2=0.05 IMGUI_BODY_COLOR_0=1 IMGUI_BODY_COLOR_1=1 IMGUI_BODY_COLOR_2=1 IMGUI_POPS_COLOR_0=0.07 IMGUI_POPS_COLOR_1=0.07 IMGUI_POPS_COLOR_2=0.07 ../filedialogs --get-open-filename "Portable Network Graphic (*.png)|*.png|Graphic Interchange Format (*.gif)|*.gif" "Untitled.png"; | ||
else | ||
env IMGUI_DIALOG_PARENT=`xdotool getactivewindow` IMGUI_DIALOG_WIDTH=720 IMGUI_DIALOG_HEIGHT=380 IMGUI_DIALOG_THEME=2 IMGUI_TEXT_COLOR_0=1 IMGUI_TEXT_COLOR_1=1 IMGUI_TEXT_COLOR_2=1 IMGUI_HEAD_COLOR_0=0.35 IMGUI_HEAD_COLOR_1=0.35 IMGUI_HEAD_COLOR_2=0.35 IMGUI_AREA_COLOR_0=0.05 IMGUI_AREA_COLOR_1=0.05 IMGUI_AREA_COLOR_2=0.05 IMGUI_BODY_COLOR_0=1 IMGUI_BODY_COLOR_1=1 IMGUI_BODY_COLOR_2=1 IMGUI_POPS_COLOR_0=0.07 IMGUI_POPS_COLOR_1=0.07 IMGUI_POPS_COLOR_2=0.07 ../filedialogs --get-open-filename "Portable Network Graphic (*.png)|*.png|Graphic Interchange Format (*.gif)|*.gif" "Untitled.png"; | ||
fi |