mirror of
				https://github.com/frebib/dotfiles.git
				synced 2024-06-14 12:57:23 +00:00 
			
		
		
		
	This reverts commit 3b34decb42.
Enabling EGL causes firefox to stop rendering when the compositor is
stopped or restarted. Whilst there are supposed performance
improvements, those are negated by bugs that make it unusable at the
current time.
Signed-off-by: Joe Groocock <me@frebib.net>
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			823 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			823 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh -u
 | 
						|
 | 
						|
# Graphical-specific environment variables
 | 
						|
export TERMINAL="alacritty"
 | 
						|
export BROWSER="firefox"
 | 
						|
 | 
						|
export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
 | 
						|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/settings.ini"
 | 
						|
export QT_QPA_PLATFORMTHEME=qt5ct
 | 
						|
export XDG_CURRENT_DESKTOP="GNOME" # Fixes xdg-open
 | 
						|
 | 
						|
# https://www.reddit.com/r/linux/comments/72mfv8/psa_for_firefox_users_set_moz_use_xinput21_to/
 | 
						|
export MOZ_USE_XINPUT2=1 # enable pixel-accurate scrolling in firefox
 | 
						|
 | 
						|
 | 
						|
# Load Xorg resources and set the DPI
 | 
						|
xrdb -merge $XDG_CONFIG_HOME/X11/xresources
 | 
						|
xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
 | 
						|
 | 
						|
setxkbmap -option caps:none
 | 
						|
xset r rate 200 18
 | 
						|
 | 
						|
test -f "$XDG_CONFIG_HOME"/X11/xmodmap && \
 | 
						|
    xmodmap "$XDG_CONFIG_HOME"/X11/xmodmap
 |