diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-08-08 21:46:05 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-08-08 21:46:05 +0530 |
commit | 170ee0a38be274eaa0ae292f3c70e3e303a41d0a (patch) | |
tree | b557b1b2e617b67e717571e6d07ea73ad4d6ea75 /.xprofile | |
parent | 13d80183fdbb64c1babfd163b71fd0755703a149 (diff) |
removed startup apps from XMonad and moved them to .xprofile
Diffstat (limited to '.xprofile')
-rwxr-xr-x | .xprofile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |