mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
Resize popups
This commit is contained in:
parent
010ce1440c
commit
6cce33ca1a
1 changed files with 4 additions and 4 deletions
8
dzgui.sh
8
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=2.8.0-rc.6
|
version=2.8.0-rc.7
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -101,15 +101,15 @@ items=(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
warn_and_exit(){
|
warn_and_exit(){
|
||||||
zenity --info --title="DZGUI" --text="$1" --icon-name="dialog-warning" 2>/dev/null
|
zenity --info --title="DZGUI" --text="$1" --width=500 --icon-name="dialog-warning" 2>/dev/null
|
||||||
printf "[DZGUI] %s\n" "$check_config_msg"
|
printf "[DZGUI] %s\n" "$check_config_msg"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
warn(){
|
warn(){
|
||||||
zenity --info --title="DZGUI" --text="$1" --icon-name="dialog-warning" 2>/dev/null
|
zenity --info --title="DZGUI" --text="$1" --width=500 --icon-name="dialog-warning" 2>/dev/null
|
||||||
}
|
}
|
||||||
info(){
|
info(){
|
||||||
zenity --info --title="DZGUI" --text="$1" 2>/dev/null
|
zenity --info --title="DZGUI" --text="$1" --width=500 2>/dev/null
|
||||||
}
|
}
|
||||||
set_api_params(){
|
set_api_params(){
|
||||||
response=$(curl -s "$api" -H "Authorization: Bearer "$api_key"" -G -d "sort=-players" \
|
response=$(curl -s "$api" -H "Authorization: Bearer "$api_key"" -G -d "sort=-players" \
|
||||||
|
|
Loading…
Reference in a new issue