~carloabelli/dotfiles

5b076d7a9c74019d5301f7a32b3ef61d7c094cb8 — Carlo Abelli 19 days ago 1ab0536
Switch to using start-sway script
1 files changed, 0 insertions(+), 12 deletions(-)

M .zprofile
M .zprofile => .zprofile +0 -12
@@ 7,15 7,3 @@ export PATH="$HOME/bin:$PATH"
if command -v ruby &>/dev/null; then
  export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
fi

# sway
if [ "$(tty)" = "/dev/tty1" ]; then
  export BEMENU_OPTS='--monitor all --fn "sans-serif 12" --fb "#0c1118" --ff "#afaba2" --nb "#0c1118" --nf "#7b776e" --hb "#22262d" --hf "#afaba2"'
  export CLUTTER_BACKEND=wayland
  export MOZ_ENABLE_WAYLAND=1
  export QT_QPA_PLATFORM=wayland-egl
  export QT_QPA_PLATFORMTHEME=qt5ct
  export SDL_VIDEODRIVER=wayland
  export XDG_CURRENT_DESKTOP=sway
  exec sway
fi