Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
3.5 KiB

  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3. # Path to your oh-my-zsh installation.
  4. export ZSH=/home/kevin/.oh-my-zsh
  5. # Set name of the theme to load. Optionally, if you set this to "random"
  6. # it'll load a random theme each time that oh-my-zsh is loaded.
  7. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  8. ZSH_THEME="muse"
  9. # Set list of themes to load
  10. # Setting this variable when ZSH_THEME=random
  11. # cause zsh load theme from this variable instead of
  12. # looking in ~/.oh-my-zsh/themes/
  13. # An empty array have no effect
  14. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  15. # Uncomment the following line to use case-sensitive completion.
  16. # CASE_SENSITIVE="true"
  17. # Uncomment the following line to use hyphen-insensitive completion. Case
  18. # sensitive completion must be off. _ and - will be interchangeable.
  19. # HYPHEN_INSENSITIVE="true"
  20. # Uncomment the following line to disable bi-weekly auto-update checks.
  21. # DISABLE_AUTO_UPDATE="true"
  22. # Uncomment the following line to change how often to auto-update (in days).
  23. # export UPDATE_ZSH_DAYS=13
  24. # Uncomment the following line to disable colors in ls.
  25. # DISABLE_LS_COLORS="true"
  26. # Uncomment the following line to disable auto-setting terminal title.
  27. # DISABLE_AUTO_TITLE="true"
  28. # Uncomment the following line to enable command auto-correction.
  29. # ENABLE_CORRECTION="true"
  30. # Uncomment the following line to display red dots whilst waiting for completion.
  31. # COMPLETION_WAITING_DOTS="true"
  32. # Uncomment the following line if you want to disable marking untracked files
  33. # under VCS as dirty. This makes repository status check for large repositories
  34. # much, much faster.
  35. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  36. # Uncomment the following line if you want to change the command execution time
  37. # stamp shown in the history command output.
  38. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  39. # HIST_STAMPS="mm/dd/yyyy"
  40. # Would you like to use another custom folder than $ZSH/custom?
  41. # ZSH_CUSTOM=/path/to/new-custom-folder
  42. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  43. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  44. # Example format: plugins=(rails git textmate ruby lighthouse)
  45. # Add wisely, as too many plugins slow down shell startup.
  46. plugins=(
  47. git
  48. )
  49. source $ZSH/oh-my-zsh.sh
  50. source ~/linux-config/aliases/zsh_aliases
  51. # User configuration
  52. # export MANPATH="/usr/local/man:$MANPATH"
  53. # You may need to manually set your language environment
  54. # export LANG=en_US.UTF-8
  55. # Preferred editor for local and remote sessions
  56. # if [[ -n $SSH_CONNECTION ]]; then
  57. # export EDITOR='vim'
  58. # else
  59. # export EDITOR='mvim'
  60. # fi
  61. # Compilation flags
  62. # export ARCHFLAGS="-arch x86_64"
  63. # ssh
  64. # export SSH_KEY_PATH="~/.ssh/rsa_id"
  65. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  66. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  67. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  68. # For a full list of active aliases, run `alias`.
  69. #
  70. # Example aliases
  71. # alias zshconfig="mate ~/.zshrc"
  72. # alias ohmyzsh="mate ~/.oh-my-zsh"
  73. if [ "$(whoami)" = "kevin" ]; then
  74. gsettings set org.gnome.desktop.peripherals.keyboard delay 25
  75. gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 200
  76. export PATH="${PATH}:${HOME}/.local/bin/"
  77. (cat ~/.cache/wal/sequences &)
  78. fi
  79. # NZXT
  80. if [ "$(hostname)" = "NZXT" ];
  81. then
  82. xmodmap -e "clear Lock"
  83. xmodmap -e "keycode 22 = Caps_Lock"
  84. xmodmap -e "keycode 66 = BackSpace"
  85. else
  86. xrandr --dpi 150
  87. fi