diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-08-22 22:37:15 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-08-22 22:37:15 +0530 |
commit | 458a1c1016c47c76e17ab222c26d6558e5d75500 (patch) | |
tree | 5f34122bc2a4227e84b1eced87bc75810a5870a5 /.xprofile | |
parent | 170ee0a38be274eaa0ae292f3c70e3e303a41d0a (diff) |
conditionally loading secondmonitor.sh on x startup
Diffstat (limited to '.xprofile')
-rwxr-xr-x | .xprofile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6,6 +6,7 @@ if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then exec startx fi + # makes optimus-manager work (probably) # xrandr --setprovideroutputsource modesetting NVIDIA-0 # xrandr --auto @@ -20,7 +21,8 @@ xmodmap /home/zt/.Xmodmap & blueman-applet & picom & dunst & -polystart & nitrogen --restore & +emacs --daemon & udiskie & - +polystart & +xrandr | grep "HDMI-0 connected" && secondmonitor.sh |