mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Jetbrains products work again
This commit is contained in:
parent
8fec187a20
commit
1b7b348869
@ -12,6 +12,11 @@ sxhkd &
|
||||
# Set screen orientation if second monitor is connected
|
||||
set SCREENCOUNT (xrandr | grep -c "\*")
|
||||
|
||||
# Make sure Jetbrains stuff works
|
||||
set _JAVA_AWT_WM_NONREPARTENTING 1
|
||||
set AWT_TOOLKIT MToolkit
|
||||
wmname LG3d &
|
||||
|
||||
# If multi screen add special mode for monitor so it supports 1440p over HDMI
|
||||
if [ "$SCREENCOUNT" -eq 2 ]
|
||||
bspc monitor DP-1 -d 2 3 4 5 6 7 8 9 10
|
||||
|
Loading…
Reference in New Issue
Block a user