mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
fix: use same WM_CLASS name for both clients
This commit is contained in:
1 parent
76a05e5d04
commit
0cabcb9f46
2 files changed
+6
-6
No files matched your search
@@ -5,6 +5,10 @@
|
|||||||
- Custom query API
|
- Custom query API
|
||||||
- Standardize dialogs
|
- Standardize dialogs
|
||||||
|
|
||||||
|
## [3.3.0-rc.20] 2023-05-09
|
||||||
|
### Changed
|
||||||
|
- Use same WM_CLASS targeting method for beta and stable clients
|
||||||
|
|
||||||
## [3.3.0-rc.19] 2023-05-09
|
## [3.3.0-rc.19] 2023-05-09
|
||||||
### Fixed
|
### Fixed
|
||||||
- Case folding when targeting WM_CLASS
|
- Case folding when targeting WM_CLASS
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.3.0-rc.19
|
version=3.3.0-rc.20
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
@@ -560,11 +560,7 @@ update_history(){
|
|||||||
echo -e "${old}${ip}" > "$hist_file"
|
echo -e "${old}${ip}" > "$hist_file"
|
||||||
}
|
}
|
||||||
is_steam_running(){
|
is_steam_running(){
|
||||||
if [[ $(is_beta) -eq 0 ]]; then
|
wmctrl -ilx | awk 'tolower($3) == "steam.steam"'
|
||||||
wmctrl -l | grep "Steam Games List"
|
|
||||||
else
|
|
||||||
wmctrl -ilx | awk 'tolower($3) == "steam.steam"'
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
connect(){
|
connect(){
|
||||||
#TODO: sanitize/validate input
|
#TODO: sanitize/validate input
|
||||||
|
|||||||
Reference in new issue
Block a user