From 170ee0a38be274eaa0ae292f3c70e3e303a41d0a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 8 Aug 2022 21:46:05 +0530 Subject: removed startup apps from XMonad and moved them to .xprofile --- .xprofile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.xprofile') diff --git a/.xprofile b/.xprofile index 221fae7..11e7911 100755 --- a/.xprofile +++ b/.xprofile @@ -1,8 +1,14 @@ -#!/bin/bash +#!/bin/zsh + +# zprofile contents +[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + exec startx +fi # makes optimus-manager work (probably) -xrandr --setprovideroutputsource modesetting NVIDIA-0 -xrandr --auto +# xrandr --setprovideroutputsource modesetting NVIDIA-0 +# xrandr --auto # makes gnome-keyring work dbus-update-activation-environment --all -- cgit v1.2.3