This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/apps/de/sway/init

36 lines
909 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
2020-03-23 13:23:50 -05:00
[ -z "$XDG_CONFIG_HOME" ] && export XDG_CONFIG_HOME="$HOME/.config"
[ -z "$DOTFILES_PATH" ] && export DOTFILES_PATH="$XDG_CONFIG_HOME/dotfiles"
. "$DOTFILES_PATH/bin/prelude"
has_command libinput-gestures-setup && libinput-gestures-setup start
has_command kdeconnect-indicator && kdeconnect-indicator &
has_command gnome-keyring-daemon && eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"
2020-01-07 11:36:12 -06:00
# killall -9 urxvtd
# urxvtd &
# key repeat
2020-03-24 10:41:52 -05:00
export WAYLAND_DISPLAY=wayland-0
export WLC_REPEAT_DELAY=200
export WLC_REPEAT_RATE=60
# caps lock -> escape key mapping
2020-03-23 13:23:50 -05:00
# export XKB_DEFAULT_OPTIONS=caps:escape
# enable wayland support
export QT_QPA_PLATFORM=wayland-egl
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
2020-01-07 11:36:12 -06:00
export MOZ_ENABLE_WAYLAND=1
2020-01-07 19:38:43 -06:00
# configuration flag for some of my dotfiles scripts
export IS_WAYLAND=1
mako &
killall -9 dunst &> /dev/null
2020-01-07 19:38:43 -06:00
sway