summaryrefslogtreecommitdiff
path: root/files/scripts
diff options
context:
space:
mode:
authorc0co.channel <c0co.channel@braincrime.com>2025-09-20 16:24:16 +0100
committerc0co.channel <c0co.channel@braincrime.com>2025-09-20 16:24:16 +0100
commite9ae23f145af5dad17175d73d9095860ec0a4c07 (patch)
tree26194fa5c12ef16345ffe2c9a3397572f0c383bf /files/scripts
parent9715f33cfd7446099ec9e26e075b6a6b1904d0a3 (diff)
Reorganize path structure, add disp browsers & pwn
Diffstat (limited to 'files/scripts')
-rw-r--r--files/scripts/gpg-agent-tty2
-rw-r--r--files/scripts/sway-login3
-rw-r--r--files/scripts/sway-login-laptop3
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