aboutsummaryrefslogtreecommitdiff
path: root/.xprofile
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-11-24 20:20:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-11-24 20:20:08 +0530
commit24045012e69eb4d72b7a4344bca515e53412bba0 (patch)
tree5277c330f3b442bd8d09fad2e83b815038a24c6a /.xprofile
parentf300ba9a9302e70dcc72523639aecc1e04feec53 (diff)
added playerctl keybindings
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 &