#!/bin/zsh # set .zshenv [[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv # keyboard layout xmodmap /home/zt/.Xmodmap & # makes gnome-keyring work dbus-update-activation-environment --all # autostart apps for both xmonad and any other DE emacs --daemon & mpd & # autostart apps for xmonad if [[ $DESKTOP_SESSION = "xmonad" ]]; then # 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 # autostart apps nitrogen --restore & picom & dunst & udiskie & polystart & fi