From f4c4550e327d9090c82a735d39d104d0bedb602d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 30 Mar 2025 01:00:51 -0400 Subject: Loads of laptop shit --- .profile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index fc7733d..9b4d805 100644 --- a/.profile +++ b/.profile @@ -45,6 +45,7 @@ export BAT_THEME="ansi" export ELECTRON_OZONE_PLATFORM_HINT="wayland" # Path +export PATH="$HOME/.local/bin:$PATH" export PATH="$PATH:$(find "$HOME/.local/bin" -type d | paste -sd ":" -)" export PATH="$PATH:$GOPATH/bin" export PATH="$PATH:$HOME/.cargo/bin" @@ -53,6 +54,8 @@ export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:/usr/local/go/bin" export PATH="$PATH:/usr/local/go/bin" export PATH="$PATH:$HOME/.local/share/cargo/bin" +export GITHUB_TOKEN="$(pass gh/token)" +export WIREMAN_CONFIG_DIR=$XDG_CONFIG_HOME/wireman # Set foot as the default terminal when not connected via SSH # or xterm when connected via SSH @@ -78,11 +81,10 @@ if test -z "$XDG_RUNTIME_DIR"; then export XDG_RUNTIME_DIR="$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)" fi -startw() { - dbus-launch --exit-with-session dwl -} - # Start Desktop Environment if on the main TTY -[ "$(tty)" = "/dev/tty1" ] && ! pidof dwl >/dev/null 2>&1 && { - startw +[ "$(tty)" = "/dev/tty1" ] && ! pidof river >/dev/null 2>&1 && { + dbus-launch --exit-with-session river -no-xwayland +} +[ "$(tty)" = "/dev/tty2" ] && ! pidof river >/dev/null 2>&1 && { + dbus-launch --exit-with-session river } -- cgit v1.2.3