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/os/linux/sway/init

23 lines
371 B
Text
Raw Normal View History

2021-03-06 22:07:30 -06:00
#!/usr/bin/env fish
2021-03-06 22:07:30 -06:00
set -q XDG_CONFIG_HOME || begin
echo XDG_CONFIG_HOME not set
exit 1
end
2020-03-23 13:23:50 -05:00
2021-03-06 22:07:30 -06:00
set -q DOTFILES_PATH || begin
echo DOTFILES_PATH not set
exit 1
end
2020-03-23 13:23:50 -05:00
2021-03-06 22:07:30 -06:00
set -Ux CLUTTER_BACKEND wayland
set -Ux SDL_VIDEODRIVER wayland
set -Ux MOZ_ENABLE_WAYLAND 1
set -Ux XDG_CURRENT_DESKTOP sway
for s in $ENV_PATH/*/sway-init.d.fish
source $s (dirname $s)
end
2020-03-24 12:05:08 -05:00
2020-11-01 19:12:11 -06:00
exec sway