dotties

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

xinitrc (901B)


      1 #export XDG_SESSION_TYPE=x11
      2 #export GDK_BACKEND=x11
      3 #exec gnome-session
      4 
      5 if [[ "$WM" != "bspwm" ]]; then
      6 	sxhkd -c ~/.config/sxhkd/sxhkdrc &
      7 fi
      8 
      9 [ "$WM" = "dwm" ] && dwmbloxx &
     10 
     11 #(echo $HOME/.config/sxhkd/sxhkdrc | entr pkill -USR1 -x sxhkd) &
     12 
     13 #[ -f "$XDG_CONFIG_HOME/keymaps/xkeymap" ] && xkbcomp "$XDG_CONFIG_HOME/keymaps/xkeymap" $DISPLAY
     14 xkbutil set NO
     15 
     16 [ "$(xrandr | grep "VGA-0 connected" | wc -l)" = "1" ] && \
     17 [ "$(xrandr | grep "DVI-0 connected" | wc -l)" = "1" ] && \
     18 xrandr --output VGA-0 --off --output LVDS --mode 1400x1050 --pos 0x0 --rotate normal --output DVI-0 --primary --mode 1920x1080 --pos 1400x0 --rotate normal && \
     19 sleep 1s && \
     20 xrandr --output VGA-0 --mode 1280x1024 --pos 1920x0 --rotate normal --output LVDS --off --output DVI-0 --primary --mode 1920x1080 --pos 0x45 --rotate normal
     21 
     22 unclutter &
     23 xwallpaper --zoom ~/.config/wallpaper &
     24 redshift -t 5500:3500 &
     25 
     26 exec "$WM"