1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

add sway profile file

This commit is contained in:
eoli3n 2020-04-27 10:40:27 +02:00
parent c277dd021d
commit 864c1af165
3 changed files with 6 additions and 7 deletions

@ -1,5 +0,0 @@
#!/usr/bin/env bash
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec sway
fi

@ -0,0 +1,4 @@
# Autostart sway when user login on tty1
if test -z $DISPLAY and (tty) = "/dev/tty1"
exec sway
fi

@ -11,8 +11,8 @@
- name: autostart sway
copy:
src: fish_profile
dest: ~/.fish_profile
src: sway.fish
dest: ~/.config/fish/conf.d/
- name: create swaylock dir config
file: