-
Notifications
You must be signed in to change notification settings - Fork 3
/
profile
executable file
·60 lines (49 loc) · 1.91 KB
/
profile
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
export EDITOR=/usr/bin/vim
export QT_QPA_PLATFORMTHEME="qt5ct"
# export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export GTK_THEME=Adwaita:dark
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
# wayland/sway
export XKB_DEFAULT_LAYOUT=us
export XKB_DEFAULT_VARIANT=dvorak
export XKB_DEFAULT_MODEL=pc101
export XKB_DEFAULT_OPTIONS=caps:escape
PATH="$PATH:$HOME/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH="$PATH:$HOME/dotfiles/vim/bundle/powerline/scripts"
PATH="$PATH:/usr/games"
PATH="$PATH:/usr/bin/core_perl"
PATH="$PATH:/opt/android-studio/bin"
# path="$path:/$HOME/Android/Sdk/platform-tools"
PATH="$PATH:$HOME/go/bin"
PATH="$PATH:$HOME/.npm-global/bin"
PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/bin"
PATH="$PATH:/snap/bin"
export PATH=$PATH
# remove duplicate entrys from path
# path=$(printf "%s" "$PATH" | awk -v RS=':' '!a[$1]++ { if (NR > 1) printf RS; printf $1 }')
# export PATH=$path
# ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
# path="$path:/opt/android-studio/bin"
# path="$path:/opt/android-studio-3/bin"
# xrandr --output eDP1 --auto --left-of HDMI3 --output HDMI3 --auto --scale 2x2 --right-of DP1
# xrandr --output eDP1 --mode 1920x1200 --left-of HDMI3 --output HDMI3 --right-of DP1
# xrandr --output eDP1 --mode 2560x1600 --left-of HDMI3 --output HDMI3 --right-of DP1
#xrandr --output eDP1 --mode 2560x1600 --left-of HDMI3
# natural scrolling
# xinput set-button-map 14 1 2 3 5 4 7 6 8 9 10 11 12
# mac keyboard remap
# xmodmap ~/.xmodmaprc
# synclient HorizTwoFingerScroll=1 HorizEdgeScroll=0 VertEdgeScroll=0 VertScrollDelta=-247 HorizScrollDelta=-247
xmodmap ~/.Xmodmap
# TODO: set up this to be started by a daemon something or other
# this is probably not a great idea
# polkitbin='/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1'
#
# if [ -f "$polkitbin" ]; then
# $polkitbin &
# fi
# workaround for annoying thing
# killall pulseaudio
# alsa force-reload