Make some modifications
02ce3dbeac01e7c85108f62cb1009577366f6ecb
1 parent
a84c941e
.profile
+5 -2
| 1 | 1 | #!/bin/sh |
|
| 2 | 2 | ||
| 3 | 3 | eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa) |
|
| 4 | - | export PATH=~/bin:~/.local/bin:~/.cabal/bin:~/.cargo/bin:$PATH |
|
| 4 | + | export PATH=~/bin:~/.local/bin:~/.cabal/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:$PATH |
|
| 5 | 5 | export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/cuda/lib64:/opt/cuda/extras/CUPTI/lib64" |
|
| 6 | 6 | export CUDA_HOME=/opt/cuda |
|
| 7 | 7 | export EDITOR=nvim |
|
| 8 | 8 | export VISUAL=nvim |
|
| 9 | 9 | export MOZ_USE_XINPUT2=1 # Pixel scrolling in Firefox |
|
| 10 | - | xinput --set-prop "11" "libinput Disable While Typing Enabled" 0 |
|
| 10 | + | ||
| 11 | + | if command -v xinput >/dev/null; then |
|
| 12 | + | xinput --set-prop "15" "libinput Disable While Typing Enabled" 0 |
|
| 13 | + | fi |
.vimrc
+1 -0
| 56 | 56 | set listchars=tab:·\ ,eol:¬,trail:█ |
|
| 57 | 57 | set fillchars=diff:\ ,vert:│ |
|
| 58 | 58 | set diffopt=filler,vertical,foldcolumn:0 |
|
| 59 | 59 | set statusline=%<%f\ %h%m%r%=%y\ \ %-14(%{&sw}:%{&sts}:%{&ts}%)%-14.(%l,%c%V%)\ %P |
|
| 60 | 60 | set guicursor=n-v-c:block-Cursor/lCursor-blinkon0,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor |
|
| 61 | + | set spelllang=en_us |
|
| 61 | 62 | ||
| 62 | 63 | " We don't use tabs much, but at least try and show less cruft |
|
| 63 | 64 | function! Tabline() |
|
| 64 | 65 | let s = '' |
|
| 65 | 66 | for i in range(tabpagenr('$')) |
.xmobarrc
+2 -2
| 9 | 9 | , position = Bottom |
|
| 10 | 10 | , persistent = True |
|
| 11 | 11 | , commands = |
|
| 12 | 12 | [ Run DynNetwork [ "--template", "<dev> <tx> <rx>", "-w", "7", "-S", "True" ] 10 |
|
| 13 | 13 | , Run MultiCpu [ "--template", "<total0>% <total1>% <total2>% <total3>%", "-w", "3" ] 50 |
|
| 14 | - | , Run Memory [ "--template", "<used>/<available> MB" ] 50 |
|
| 14 | + | , Run Memory [ "--template", "<available>/<total> MB" ] 50 |
|
| 15 | 15 | , Run Date "%b %d %Y %H:%M" "date" 10 |
|
| 16 | 16 | , Run DiskU [("/", "<used>/<size>"), ("/home", "<used>/<size>")] [] 20 |
|
| 17 | - | , Run Com "xmobar-dropbox-status" [] "dropbox" 10 |
|
| 17 | + | , Run Com "xmobar-unison-status" [] "dropbox" 10 |
|
| 18 | 18 | , Run Com "todo-widget" [] "todo" 10 |
|
| 19 | 19 | , Run Com "xmobar-brightness" [] "brightness" 10 |
|
| 20 | 20 | , Run Com "seedbox-status" [] "seedbox" 10 |
|
| 21 | 21 | , Run CoreTemp [ "--template", "<core0>° <core1>°" ] 50 |
|
| 22 | 22 | , Run Wireless "wlp2s0" [ "--template", "☎ <essid>/<quality>"] 10 |
bin/toggle-displays
+1 -1
| 1 | 1 | #!/bin/sh |
|
| 2 | 2 | ||
| 3 | 3 | internal=eDP1 |
|
| 4 | - | external=DP1 |
|
| 4 | + | external=DP2 |
|
| 5 | 5 | ||
| 6 | 6 | if xrandr | grep "$external disconnected"; then |
|
| 7 | 7 | xrandr --output "$external" --off --output "$internal" --auto --primary |
|
| 8 | 8 | else |
|
| 9 | 9 | xrandr --output "$internal" --off --output "$external" --auto --primary |