mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
Disable mouse shortcuts for TF2
This commit is contained in:
parent
edc2b7d692
commit
c036dafc8a
@ -54,7 +54,7 @@ focused = i3.get_tree().find_focused()
|
||||
command = sys.argv[1]
|
||||
|
||||
if command in ['back', 'forward']:
|
||||
if focused.window_instance not in ['overwatch.exe']:
|
||||
if focused.window_instance not in ['overwatch.exe', 'hl2_linux']:
|
||||
if sys.argv[1] == 'forward':
|
||||
i3.command('workspace prev_on_output')
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user