tmux, profile: nixos adaptation
This commit is contained in:
parent
b3af05c519
commit
48fc2616a3
10
.profile
10
.profile
|
|
@ -31,13 +31,13 @@ if [ "$(hostname)" = "chicken" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
exec startx
|
exec startx
|
||||||
else
|
else
|
||||||
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
||||||
mkdir -p /tmp/wayland_comp
|
#mkdir -p /tmp/wayland_comp
|
||||||
chmod 0700 /tmp/wayland_comp
|
#chmod 0700 /tmp/wayland_comp
|
||||||
export XDG_RUNTIME_DIR=/tmp/wayland_comp
|
#export XDG_RUNTIME_DIR=/tmp/wayland_comp
|
||||||
QT_QPA_PLATFORM=wayland
|
#QT_QPA_PLATFORM=wayland
|
||||||
#exec dbus-launch --sh-syntax --exit-with-session sway
|
#exec dbus-launch --sh-syntax --exit-with-session sway
|
||||||
dbus-run-session sway
|
dbus-run-session sway
|
||||||
#sway
|
#sway
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
. "$HOME/.cargo/env"
|
#. "$HOME/.cargo/env"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
bind-key p run "wl-paste --no-newline | tmux load-buffer - ; tmux paste-buffer"
|
||||||
|
|
||||||
# Shell
|
# Shell
|
||||||
#set -g default-shell /bin/fish
|
set -g default-shell fish
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue