Last active
April 6, 2018 01:29
-
-
Save codybonney/3fcbbc450f6ce1e22b2851f973c7537a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
wid=$1 | |
class=$2 | |
# fix context menus in IntelliJ IDEA 2018.1 | |
[[ "$class" = "jetbrains-idea" ]] && [[ $(xtitle "$wid") =~ ^win[0-9]*$ ]] && echo "manage=off"; |
First, I installed xtitle
Then, I created a new external_rules
file (seen above)
Then, I made it executable:
sudo chmod +x external_rules
Then, I added the following to my bspwmrc
file:
bspc config external_rules_command "/home/cody/.config/bspwm/external_rules"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Workaround for an issue where IntelliJ IDEA 2018.1 context menus are treated as new windows that get managed by bspwm