diff options
Diffstat (limited to 'files/scripts')
| -rw-r--r-- | files/scripts/gpg-agent-tty | 2 | ||||
| -rw-r--r-- | files/scripts/sway-login | 3 | ||||
| -rw-r--r-- | files/scripts/sway-login-laptop | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/files/scripts/gpg-agent-tty b/files/scripts/gpg-agent-tty new file mode 100644 index 0000000..ca4bb5a --- /dev/null +++ b/files/scripts/gpg-agent-tty @@ -0,0 +1,2 @@ +export GPG_TTY=$(tty) +gpg-connect-agent updatestartuptty /bye >/dev/null diff --git a/files/scripts/sway-login b/files/scripts/sway-login new file mode 100644 index 0000000..2711786 --- /dev/null +++ b/files/scripts/sway-login @@ -0,0 +1,3 @@ +if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then + exec sway --unsupported-gpu; +fi diff --git a/files/scripts/sway-login-laptop b/files/scripts/sway-login-laptop new file mode 100644 index 0000000..3792a85 --- /dev/null +++ b/files/scripts/sway-login-laptop @@ -0,0 +1,3 @@ +if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then + exec sway; +fi |
