aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
Diffstat (limited to '.xprofile')
-rwxr-xr-x.xprofile15
1 files changed, 9 insertions, 6 deletions
diff --git a/.xprofile b/.xprofile
index 7853985..0ad8de4 100755
--- a/.xprofile
+++ b/.xprofile
@@ -6,10 +6,10 @@ if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
-
-# makes optimus-manager work (probably)
-# xrandr --setprovideroutputsource modesetting NVIDIA-0
-# xrandr --auto
+# set screen layout
+# this would fail when on integrated graphics
+# that's the desired behaviour
+xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output eDP-1-1 --primary --mode 1920x1080 --pos 1920x749 --rotate normal
# makes gnome-keyring work
dbus-update-activation-environment --all
@@ -18,11 +18,14 @@ dbus-update-activation-environment --all
xmodmap /home/zt/.Xmodmap &
# autostart apps
-secondmonitor.sh &
blueman-applet &
picom &
dunst &
emacs --daemon &
-udiskie &
+# udiskie messes up something in my system
+# idk what it is but it's pretty bad
+# basically it's temporarily disabled
+# until I decide to troubleshoot it (I'm lazy)
+# udiskie &
nitrogen --restore &
polystart &