tmux, profile: nixos adaptation

This commit is contained in:
Daniel Meiburg 2023-09-26 20:34:38 +02:00
parent b3af05c519
commit 48fc2616a3
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
2 changed files with 6 additions and 6 deletions

View File

@ -31,13 +31,13 @@ if [ "$(hostname)" = "chicken" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec startx
else
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
mkdir -p /tmp/wayland_comp
chmod 0700 /tmp/wayland_comp
export XDG_RUNTIME_DIR=/tmp/wayland_comp
QT_QPA_PLATFORM=wayland
#mkdir -p /tmp/wayland_comp
#chmod 0700 /tmp/wayland_comp
#export XDG_RUNTIME_DIR=/tmp/wayland_comp
#QT_QPA_PLATFORM=wayland
#exec dbus-launch --sh-syntax --exit-with-session sway
dbus-run-session sway
#sway
fi
fi
. "$HOME/.cargo/env"
#. "$HOME/.cargo/env"

View File

@ -113,4 +113,4 @@ bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy"
bind-key p run "wl-paste --no-newline | tmux load-buffer - ; tmux paste-buffer"
# Shell
#set -g default-shell /bin/fish
set -g default-shell fish