Skip to content

Instantly share code, notes, and snippets.

@cathay4t
Created May 6, 2021 06:47
Show Gist options
  • Save cathay4t/fe230538a218528dc7f8594a7a6d01e4 to your computer and use it in GitHub Desktop.
Save cathay4t/fe230538a218528dc7f8594a7a6d01e4 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Enable wayland in firefox
export MOZ_ENABLE_WAYLAND=1
export XDG_SESSION_TYPE=wayland
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export EDITOR="vim"
export VISUAL="vim"
export BROWSER="web"
export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME="qt6ct"
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# Don't truncate on journalctl
export SYSTEMD_LESS=FRXMK
export PYTHONPATH="/home/fge/Source/nmstate:/usr/share/openvswitch/python:/home/fge/Source/nispor/src/python"
export LD_LIBRARY_PATH="/home/fge/Source/nispor/target/debug"
# For coding on network-role
export ANSIBLE_ROLES_PATH=/home/fge/ansible/roles
#export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src/"
export RUST_SRC_PATH="/home/fge/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/"
#export GTK_THEME=Adwaita:dark
# Don't truncate on journalctl
export SYSTEMD_LESS=FRXMK
echo 0 | sudo tee /proc/sys/kernel/nmi_watchdog
export TERMINAL=alacritty
export TERM=alacritty
# Disable CTRL+s and CTRL+Q for flow control
# stty -ixon -ixoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment