-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot-zshenv
80 lines (63 loc) · 2.32 KB
/
dot-zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/bash
export LFS=/mnt/lfs
TEMP_PATH=$PATH
unset PATH
source /opt/Xilinx/Vivado/2020.2/settings64.sh
export PATH=/usr/bin/git:~/.local/bin:~/.stack/programs/x86_64-linux/ghc-tinfo6-8.0.2/bin:/opt/intelFPGA_pro/21.4/questa_fse/bin:~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin:~/.cargo/bin:$TEMP_PATH:$PATH
#/opt/symbiotic_20200206A/bin
export ZSH_AUTOSUGGEST_USE_ASYNC=1
### General aliases
alias qute="qutebrowser &"
alias stow_dots="bash ~/dotfiles/stow_dots.sh"
alias ls='ls --color=auto'
alias l='ls -Fal'
alias e='emacsclient -nc'
alias vim='nvim'
alias v='nvim'
alias wvnc='WAYLAND_DISPLAY=wayland-1 wayvnc 0.0.0.0 5901'
alias wpipe='waypipe ssh -X nick@nisicalab.com'
# Needed for Virtuoso
alias arch="uname -m"
### Stop vivado throwing logs everywhere
alias vivado="vivado -nolog -nojournal"
### TODO if need be: Setup for FPGA aliases
export LM_LICENSE_FILE="/opt/intelFPGA_pro/intel_questa_license.dat"
### Symbiotic EDA
export SYMBIOTIC_LICENSE="$HOME/symbiotic_academic_license.lic"
###################### Wayland Setup
### Sway/wlroots environment setup
export WLR_RENDERER=vulkan
export XDG_SESSION_TYPE=wayland
### Force GTK to use wayland- might not be needed anymore
export GDK_BACKEND=wayland
### Force Qt to use wayland- might not be needed anymore
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
### Intel Variables
# This forces Intel in a multi-GPU setup
#export WLR_DRM_DEVICES=/dev/dri/card1
#export WLR_RENDER_DRM_DEVICE=/dev/dri/renderD128
#export VDPAU_DRIVE=i915
#export LIBVA_DRIVE_NAME=va_gl
#unset __GLX_VENDOR_LIBRARY_NAME
#unset GBM_BACKEND
### Nvidia Variables
#export WLR_DRM_DEVICES=/dev/dri/card0
#export WLR_RENDER_DRM_DEVICE=/dev/dri/renderD128
#export VDPAU_DRIVE=nvidia
#export LIBVA_DRIVE_NAME=nvidia
#export GBM_BACKEND=nvidia-drm
#export __GLX_VENDOR_LIBRARY_NAME=nvidia
#export XWAYLAND_NO_GLAMOR=1
# Disables GSYNC and Variable Refresh Rate
#export __GL_GSYNC_ALLOWED=0
#export __GL_VRR_ALLOWED=0
### For Vivado (and other Java GUIs) to run on Wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
# These are for Sunshine with sway
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
export DESKTOP_SESSION=sway
##### Uncomment for headless sway
export WLR_BACKENDS="headless,libinput"