diff options
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" |