add alacritty

master
Paul Walko 2021-01-25 14:54:01 -05:00
parent 127b896373
commit b2be5c0d4a
11 changed files with 22 additions and 43 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "dircolors-solarized"]
path = dircolors-solarized
url = https://github.com/seebi/dircolors-solarized

View File

@ -0,0 +1,6 @@
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbOptions" "ctrl:nocaps"
EndSection

View File

@ -1,22 +1,20 @@
LN_FLAGS = -sfnv LN_FLAGS = -sfnv
MKDIR_FLAGS = -pv MKDIR_FLAGS = -pv
home_symlinks = Xresources xbindkeysrc xinitrc vimrc vim Xmodmap tmux.conf gitconfig bashrc home_symlinks = Xresources xbindkeysrc xinitrc vimrc vim tmux.conf gitconfig bashrc
config_copy = config_copy =
config_symlinks = termite dircolors-solarized i3 config_symlinks = i3 alacritty
gnupg_symlinks = gpg-agent.conf gnupg_symlinks = gpg-agent.conf
local_install: Xresources xbindkeysrc xinitrc vimrc vim termite dircolors-solarized i3 gitconfig gpg-agent.conf bashrc local_install: Xresources xbindkeysrc xinitrc vimrc vim i3 gitconfig gpg-agent.conf bashrc alacritty
mac_local_install: vimrc vim dircolors-solarized gpg-agent.conf tmux.conf bashrc mac_local_install: vimrc vim gpg-agent.conf tmux.conf bashrc
remote_install: vim vimrc dircolors-solarized tmux.conf remote_install: vim vimrc tmux.conf
ctrl_install: Xmodmap
.PHONY: $(home_symlinks) .PHONY: $(home_symlinks)
$(home_symlinks): $(home_symlinks):

View File

@ -1 +1,4 @@
My dotfiles # My dotfiles
Key bindkngs / XKB: https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Using_X_configuration_files
- do not include XkbModel or XkbVariant options

15
Xmodmap
View File

@ -1,15 +0,0 @@
clear lock
clear control
clear mod1
clear mod2
clear mod3
clear mod4
clear mod5
keycode 37 = Hyper_L
keycode 66 = Control_L
add control = Control_L Control_R
add mod1 = Alt_L Alt_R Meta_L
add mod2 = Num_Lock
add mod3 = Hyper_L
add mod4 = Super_L Super_R
add mod5 = Mode_switch ISO_Level3_Shift

2
alacritty/alacritty.yml Normal file
View File

@ -0,0 +1,2 @@
font:
size: 10

6
bashrc
View File

@ -11,14 +11,11 @@ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[0
# Generic exports # Generic exports
export EDITOR=vim export EDITOR=vim
export GOPATH=$HOME/go export GOPATH=$HOME/go
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completionexport PATH=$GOPATH/bin:$PATH
export PATH=$HOME/go/bin:$PATH export PATH=$HOME/go/bin:$PATH
export PATH=$HOME/.local/bin:$PATH export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.local/share/google-cloud-sdk/bin:$PATH export PATH=$HOME/.local/share/google-cloud-sdk/bin:$PATH
export PATH=$HOME/.local/share/alacritty/target/release:$PATH
export PATH=/usr/NX/bin:$PATH export PATH=/usr/NX/bin:$PATH
export PATH=/opt/waterfox:$PATH
if [[ -z $TMUX ]]; then if [[ -z $TMUX ]]; then
export TERM='xterm-256color' export TERM='xterm-256color'
else else
@ -69,7 +66,6 @@ if [[ "$OSTYPE" == 'darwin'* ]]; then
fi fi
elif [[ "$OSTYPE" == 'linux-gnu' ]]; then elif [[ "$OSTYPE" == 'linux-gnu' ]]; then
alias ls="ls --color=auto" alias ls="ls --color=auto"
eval `dircolors ~/.config/dircolors-solarized/dircolors.256dark`
fi fi
# VIM # VIM

@ -1 +0,0 @@
Subproject commit 2720cb1ff508bc358f9414f63370f0c6cd767b98

View File

@ -30,7 +30,7 @@ font pango:monospace 8
floating_modifier $mod floating_modifier $mod
# start a terminal # start a terminal
bindsym $mod+Return exec termite bindsym $mod+Return exec alacritty
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill

View File

@ -1,8 +0,0 @@
# My dark theme
[colors]
foreground = orange
background = black
[options]
font = Monospace 12

View File

@ -17,8 +17,9 @@ if [ "$HOSTNAME" = cabinet ]; then
exec $STARTUP i3 exec $STARTUP i3
fi fi
else else
xbindkeys # xbindkeys
xmodmap ~/.Xmodmap # xmodmap ~/.Xmodmap
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
nm-applet & nm-applet &
exec i3 exec i3
fi fi