diff options
| author | Andrew <saintruler@gmail.com> | 2020-11-30 20:02:27 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-11-30 20:02:27 +0400 |
| commit | 5a68d0d68032b33af5d433cde1d93c6f6cfb0f11 (patch) | |
| tree | 642bac10a424b63d73ec0f88e9cadcb71d298323 /.xprofile | |
| parent | 2ffe1d22e9ab40f205f0cfa70ebb0712bb36c115 (diff) | |
Changes to autostart of X11 session
* Removed autostarting of X11 from .profile
* Moved variables used in graphical session to .xprofile
* Removed junk from .xinitrc
* Added xmonad configurations
Diffstat (limited to '.xprofile')
| -rw-r--r-- | .xprofile | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -1,18 +1,18 @@ #!/bin/sh -if [ "$DISPLAY_SESSION" != "openbox" ] && \ - [ "$DISPLAY_SESSION" != "xmonad" ] && \ - [ "$DISPLAY_SESSION" != "dwm" ]; then - exit 0 -fi +if [ "$DESKTOP_SESSION" = "openbox-session" ] || \ + [ "$DESKTOP_SESSION" = "xmonad" ] || \ + [ "$DESKTOP_SESSION" = "dwm" ]; then setxkbmap -layout us,ru -option "grp:alt_shift_toggle" dunst & # Window manager specific config -if [ "$DISPLAY_SESSION" = "dwm" ]; then +if [ "$DESKTOP_SESSION" = "dwm" ]; then compositor_args="-o 0" dwmblocks & +elif [ "$DESKTOP_SESSION" = "xmonad" ]; then + compositor_args="-o 0" fi # Host specific config @@ -33,3 +33,9 @@ if ! [ $(command -v compton) ]; then fi compton -c --config $XDG_CONFIG_HOME/compton/compton.conf $compositor_args & + +fi + +export TERMINAL="st" +export EDITOR="nvim" +export BROWSER="qutebrowser" |