From 05244340766a39513f7ced6d8e8018486e8bdc48 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 14 Dec 2023 09:56:37 +0000 Subject: launch Steam upon login --- .bashrc | 2 ++ .config/sway/config | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 4cbcbb68..7c0ef847 100644 --- a/.bashrc +++ b/.bashrc @@ -26,3 +26,5 @@ HISTSIZE=5000 HISTFILESIZE=5000 HISTIGNORE=ls:pwd shopt -s histappend + +[ "$(tty)" = /dev/tty2 ] && exec startw ||: diff --git a/.config/sway/config b/.config/sway/config index 594e7a52..b16b3bed 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -380,7 +380,7 @@ exec swayidle -w exec emacsclient --spw/update-environment exec emacsclient -sgdbmacs --spw/no-start --spw/update-environment -exec_always fcitx5 -d --replace +exec_always SDL_VIDEODRIVER= firejail steam exec blueman-applet exec nm-applet --indicator -- cgit v1.2.3