voidrice/.config/xprofile
cm-mcl 1be42f01a1
Update xprofile
Add Environment Variable to fix Java Application Rendering in DWM, doesn't cause any issues in i3 from what I've seen. Feel free to check yourself, though.
2020-05-11 13:00:16 -04:00

27 lines
1.2 KiB
Bash
Executable File

#!/bin/sh
# This file runs when a DM logs you into a graphical session.
# If you use startx/xinit like a Chad, this file will also be sourced.
# This file's true location is in ~/.config/xprofile and a link exists to it in
# ~/.xprofile. If you do not use a DM, you may remove the link to it to have a
# cleaner home.
# Fix Gnome Apps Slow Start due to failing services
# Add this when you include flatpak in your system
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
# Fix Java applications in DWM
# Without this, some Java applications will not display correctly
# Check dwm.1 in the man pages for more info on this.
export _JAVA_AWT_WM_NONREPARENTING=1
mpd & # music player daemon-you might prefer it as a service though
remaps & # run the remaps script, switching caps/esc and more; check it for more info
setbg & # set the background with the `setbg` script
#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources & # Uncomment to use Xresources colors/settings on startup
xcompmgr & # xcompmgr for transparency
dunst & # dunst for notifications
xset r rate 300 50 & # Speed xrate up
unclutter & # Remove mouse when idle