From 7ded350819b1192aef8c357ef5e8d950e9ea38f5 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Thu, 9 Jul 2020 12:55:17 +0200 Subject: [PATCH] added xprofile file --- .config/xprofile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 .config/xprofile diff --git a/.config/xprofile b/.config/xprofile new file mode 100755 index 0000000..d02296c --- /dev/null +++ b/.config/xprofile @@ -0,0 +1,27 @@ +#!/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 + +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 -merge ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources # Uncomment to use Xresources colors/settings on startup +#wal -i ${XDG_CONFIG_HOME:-$HOME/.config}/wall.png -b '#000000' +xcompmgr & # xcompmgr for transparency +dunst & # dunst for notifications +dwmblocks & +xset r rate 300 50 & # Speed xrate up +unclutter --ignore-scrolling & # Remove mouse when idle +insync start 2>&1 /dev/null & +riot-desktop --hidden & +echo "$HOME/.config/mpd/state" | entr -np pkill -RTMIN+11 dwmblocks & +xrandr --listactivemonitors | grep -q '1920.*x1080.*HDMI-1$' && ( xrandr --output HDMI-1 --scale 1.5 && setbg ) # set scale for 2nd monitor if connected