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:
parent
c277dd021d
commit
864c1af165
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
exec sway
|
||||
fi
|
4
roles/sway/files/sway.fish
Normal file
4
roles/sway/files/sway.fish
Normal file
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user