diff options
author | Alex Auvolat <alex@adnab.me> | 2016-01-23 18:48:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-01-23 18:48:01 +0100 |
commit | 5a1659f9e20a13d19d34920ebd14acf1655bbc2f (patch) | |
tree | 64be82109f704830a45389d938bbc3f89ebf8a56 | |
parent | f4d5ed2ca9baea87e7ecea5ea7279f6cd81cc1a9 (diff) | |
download | user-config-5a1659f9e20a13d19d34920ebd14acf1655bbc2f.tar.gz user-config-5a1659f9e20a13d19d34920ebd14acf1655bbc2f.zip |
Update (saki)
-rw-r--r-- | dot_Xdefaults | 3 | ||||
-rw-r--r-- | dot_bashrc_saki | 44 | ||||
-rw-r--r-- | dot_i3/config | 4 | ||||
-rw-r--r-- | dot_i3/i3status.conf.saki | 76 | ||||
-rwxr-xr-x | dot_xinitrc | 2 |
5 files changed, 129 insertions, 0 deletions
diff --git a/dot_Xdefaults b/dot_Xdefaults index 67a4ac6..e031469 100644 --- a/dot_Xdefaults +++ b/dot_Xdefaults @@ -8,6 +8,9 @@ URxvt.scrollBar: off URxvt*transparent: true Rxvt*shading: 30 +Xft.autohint: 1 +Xft.antialiasing: 1 + #URxvt.font: -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1 #URxvt.font: -misc-fixed-medium-r-normal--15-120-90--c-90-iso8859-1 URxvt.font: xft:inconsolata:size=12 diff --git a/dot_bashrc_saki b/dot_bashrc_saki new file mode 100644 index 0000000..fa0d5cc --- /dev/null +++ b/dot_bashrc_saki @@ -0,0 +1,44 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +complete -cf sudo +complete -cf man +shopt -s autocd + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +alias nettop='sudo nethogs enp4s0 -d 5' + +export EDITOR='vim' + +# CUDA +export PATH=/opt/cuda/bin:$PATH + +# added by Anaconda 2.3.0 installer +# export PATH="/home/lx.nobackup/anaconda/bin:$PATH" + +# -- GIT prompt +GIT_PROMPT_FETCH_REMOTE_STATUS=0 +GIT_PROMPT_START="\n\[\033[0m\][\$(if [[ \$? == 0 ]]; then echo \"\[\033[0;32m\]\$?\"; else echo \"\[\033[0;31m\]\$?\"; fi)\[\033[00m\]] \[\033[0;36m\]\u@\h \[\033[0;33m\]\w\[\033[0m\]" +GIT_PROMPT_END="\[\033[0m\]\n \$ " +source ~/usr/src/bash-git-prompt/gitprompt.sh + +alias irc='TERM=xterm ssh -t adnab.me /usr/local/bin/irc' + +keychain ~/.ssh/id_rsa --quiet +eval $(keychain --eval --quiet) + + +# . /home/lx.nobackup/torch/install/bin/torch-activate +# export AAIPATH=/home/aai + +. /home/aai/env.bash + +export GOPATH=~/go +export PATH=$PATH:~/go/bin + diff --git a/dot_i3/config b/dot_i3/config index a82b3c0..b8305f8 100644 --- a/dot_i3/config +++ b/dot_i3/config @@ -153,6 +153,7 @@ for_window [title="Caml graphics"] floating enable for_window [title="QEMU"] floating enable for_window [title="a.out"] floating enable for_window [title="mgrx*"] floating enable +for_window [class="Octave-gui"] floating enable for_window [class="Klavaro"] floating enable for_window [class="Steam"] floating enable for_window [class="Wine"] floating enable @@ -228,3 +229,6 @@ exec owncloud #exec ~/.i3/notify-serv.sh exec xset -b # disable bell +# mouse wheel speed +exec xinput set-prop "Microsoft Microsoft® Comfort Mouse 4500" "Evdev Scrolling Distance" 1 1 1 + diff --git a/dot_i3/i3status.conf.saki b/dot_i3/i3status.conf.saki new file mode 100644 index 0000000..82fb837 --- /dev/null +++ b/dot_i3/i3status.conf.saki @@ -0,0 +1,76 @@ + + +general { + colors = true + color_good = "#93D44F" + color_bad = "#FF8D8D" + color_degraded = "#FFC123" + interval = 5 +} + +order += "ipv6" +# order += "run_watch DHCP" +order += "run_watch VPN" +# order += "wireless wlan0" +order += "ethernet enp4s0" +order += "disk /home" +# order += "mpd" +order += "volume master" +# order += "battery 1" +order += "cpu_temperature 1" +order += "load" +order += "time" + +# mpd { +# format_up = "%artist - %title" +# format_down = " - " +# host = "127.0.0.1" +# port = 6600 +# } + +wireless wlan0 { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet enp4s0 { + # if you use %speed, i3status requires root privileges + format_up = "E: %ip" + format_down = "E: down" +} + +volume master { + format = "♪: %volume" + device = "default" + mixer = "Master" + mixer_idx = 0 +} + +battery 1 { + format = "%status %percentage %remaining" +} + +run_watch DHCP { + pidfile = "/var/run/dhcpcd*.pid" +} + +run_watch VPN { + pidfile = "/var/run/openvpn@*.pid" +} + +time { + format = "%a %Y-%m-%d %H:%M:%S" +} + +load { + format = "%1min" +} + +cpu_temperature 1 { + format = "T: %degrees °C" + path = "/sys/class/thermal/thermal_zone2/temp" +} + +disk "/home" { + format = "%avail" +} diff --git a/dot_xinitrc b/dot_xinitrc index b4edd75..57de588 100755 --- a/dot_xinitrc +++ b/dot_xinitrc @@ -2,6 +2,8 @@ ./.xprofile +eval $(keychain --eval) + exec dbus-launch i3 #startxfce4 #urxvt & |