Skip to content

Instantly share code, notes, and snippets.

@vkareh
Created May 10, 2023 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkareh/eaa582f1cb26f392e656ea6f27446fae to your computer and use it in GitHub Desktop.
Save vkareh/eaa582f1cb26f392e656ea6f27446fae to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ $ROFI_RETV -eq 0 ]; then
bt list
exit
fi
WID=$(echo "$1" | awk -F'\t' '{print $1}')
TITLE=$(echo "$1" | awk -F'\t' '{print $2}')
bt activate $WID
wmctrl -lp | grep "$TITLE" | awk '{print $1}' | xargs wmctrl -ia
@vkareh
Copy link
Author

vkareh commented May 10, 2023

Bound to <Super_L>Tab
Need to follow the brotab instructions to install extension: https://github.com/balta2ar/brotab

@vkareh
Copy link
Author

vkareh commented May 10, 2023

(requires X11 display server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment