Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 557a91a

Browse files
committed
window name fixed
1 parent 24c40df commit 557a91a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sgtk_menu/bar.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
# This will apply to the overlay window; we can't do so outside the config file on i3.
3434
# We'll do it for i3 by applying commands to the focused window in open_menu method.
3535
if wm == "sway":
36-
var = subprocess.run(['swaymsg', 'for_window', '[title=\"~sgtk-grid\"]', 'floating', 'enable'],
36+
var = subprocess.run(['swaymsg', 'for_window', '[title=\"~sgtk*\"]', 'floating', 'enable'],
3737
stdout=subprocess.DEVNULL).returncode == 0
38-
var = subprocess.run(['swaymsg', 'for_window', '[title=\"~sgtk-grid\"]', 'border', 'none'],
38+
var = subprocess.run(['swaymsg', 'for_window', '[title=\"~sgtk*\"]', 'border', 'none'],
3939
stdout=subprocess.DEVNULL).returncode == 0
4040

4141
other_wm = not wm == "sway" and not wm == "i3"

0 commit comments

Comments
 (0)