diff options
Diffstat (limited to 'xsession/.xsession')
| -rw-r--r-- | xsession/.xsession | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/xsession/.xsession b/xsession/.xsession index 83d0891..9ed6739 100644 --- a/xsession/.xsession +++ b/xsession/.xsession @@ -1,35 +1,34 @@ # vim: set ft=sh: -userresources=$HOME/.Xresources +#### XRESOURCES ##### +userresources=$HOME/.Xresources if [ -f "$userresources" ]; then xrdb -load "$userresources" fi +#### XRANDR ####### + +# This section depends on modeset=1: +# vi /etc/modprobe.d/nvidia-drm-nomodeset.conf +# options nvidia-drm modeset=1 +# sudo update-initramfs -u +# cat /sys/module/nvidia_drm/parameters/modeset + xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto xrandr --output DP-5 --scale 2x2 --pos 0x0 # SHARP TV (3840x2160) -xrandr --output VGA-1-1 --scale 1.8x1.8 --pos 3840x0 # Samsung SyncMaster (2304x1843) -xrandr --output DP-2 --primary --pos 6144x0 # ASUS 4K (3840x2160) -xrandr --output HDMI-0 --scale 1.7x1.7 --pos 9984x0 # LG (3264x2040) - -xsetroot -solid DarkSlateGray -#xsetroot -solid NavyBlue -trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 5 --transparent true --alpha 0 --tint 0x002b36 --height 30 --monitor 2 & +xrandr --output HDMI-0 --scale 1.7x1.7 --pos 3840x0 # LG (3264x2040) +xrandr --output DP-0 --primary --pos 7680x0 # ASUS 4K (3840x2160) -stack exec xmonad - -## pulseaudio & - -#export PATH=/home/miguel/bin:$PATH - -#xmonad -#/home/miguel/cabal_sandbox1/.cabal-sandbox/bin/cabal --sandbox-config-file=/home/miguel/cabal_sandbox1/cabal.sandbox.config exec -- xmonad +##### WALLPAPER ###### +xsetroot -solid DarkSlateGray #feh --bg-tile temp/bigblue.jpg --no-fehbg - #xsetroot -cursor_name top_left_arrow # does not work!? -## final line: start xmonad -#CABAL_SANDBOX_CONFIG=/home/miguel/sbx/hask/xmonad/cabal.sandbox.config cabal exec xmonad -#cd /home/miguel/git/xmonad-contrib/ && /home/miguel/opt/stack-1.7.1-linux-x86_64/stack exec -- xmonad +#### TRAYER ####### +trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 5 --transparent true --alpha 0 --tint 0x002b36 --height 40 --monitor 2 & + +##### XMONAD ##### +xmonad |
