I am using arch linux with xmonad, and I login using gdm, but to make xmonad work properly I have to run a script directly after login (actually I want to run .xinitrc after login using gdm to set some configuration).so, How it is possible ro run a bash script immediatly after login.I tried several ways such as editing/etc/gdm/PostLogin/Defaultthank you,
How to start a script after login using gdm?
arch linux;login;xmonad;gdm3;xinit