summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-01-01 17:30:48 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-01-01 17:30:48 +0100
commit5ba35c6159620093123844fa33a8bb8a5f21be7e (patch)
tree25aca043252b779bce8afd1c45b13b69e3741376
parent8f4e5f5dbd67322bc173d04875c3b18ea70e62af (diff)
downloaduser-config-5ba35c6159620093123844fa33a8bb8a5f21be7e.tar.gz
user-config-5ba35c6159620093123844fa33a8bb8a5f21be7e.zip
Update files : i3config i3status.conf bashrc
-rw-r--r--dot_bashrc2
-rw-r--r--dot_i3/config17
-rw-r--r--dot_i3/i3status.conf16
3 files changed, 26 insertions, 9 deletions
diff --git a/dot_bashrc b/dot_bashrc
index 9b85a4e..6739d4b 100644
--- a/dot_bashrc
+++ b/dot_bashrc
@@ -52,7 +52,7 @@ alias tulipier='ssh auvolat@tulipier.ens.fr'
# conseil : utiliser tulipier pour bosser, sas.eleves pour IRC
alias vps='ssh katchup@vps46149.ovh.net'
-alias irc='ssh -t adnab.me irc'
+alias irc='TERM=xterm ssh -t adnab.me /usr/local/bin/irc'
alias ocamltop='rlwrap ocaml "$@"'
diff --git a/dot_i3/config b/dot_i3/config
index a6dbc13..166ee6f 100644
--- a/dot_i3/config
+++ b/dot_i3/config
@@ -41,7 +41,11 @@ floating_modifier $mod
bindsym $mod+Return exec i3-sensible-terminal
# bindsym $mod+Shift+X exec xscreensaver-command -lock
-bindsym $mod+Shift+X exec i3lock -d -c 111111
+bindsym $mod+Shift+X exec i3lock -d -c 111111 -I 5
+
+# music control
+bindsym $mod+Shift+P exec mpc toggle
+bindsym $mod+Shift+N exec mpc next
# kill focused window
bindsym $mod+Shift+Q kill
@@ -147,6 +151,7 @@ for_window [class="Wine"] floating enable
for_window [class="StepMania"] floating enable
for_window [class="stepmania"] floating enable
for_window [class="anki"] floating enable
+for_window [class="visu.bin"] floating enable
new_window 1pixel
@@ -197,13 +202,17 @@ exec_always xsetroot -cursor_name arrow
#exec_always xcompmgr
#exec_always feh --bg-scale /usr/share/backgrounds/xfce/vect_or.jpg
#exec_always feh --bg-scale /home/katchup/wp/undessindedragon2.jpg
-exec_always feh --bg-scale /home/katchup/wp/lain_87_1680.jpg
+#exec_always feh --bg-scale /home/katchup/Stuff/wp/lain_87_1680.jpg
+exec_always feh --bg-scale /home/katchup/Stuff/wp/wanikani.png
+exec_always /home/katchup/lab/wkwwin/script.sh
#exec xscreensaver -nosplash
exec pulseaudio --start
-exec mpd
-exec ~/.i3/mpdscribble.sh
+#exec mpd
+#exec ~/.i3/mpdscribble.sh
exec_always xinput --set-prop 'HID 04d9:1133' 'Device Accel Constant Deceleration' 2
exec_always xinput --set-prop 'HID 04d9:1133' 'Device Accel Adaptive Deceleration' 2
exec_always xinput --set-prop 'HID 04d9:1133' 'Device Accel Velocity Scaling' 5
exec nm-applet
+exec ~/.i3/notify-serv.sh
+exec xset -b # disable bell
diff --git a/dot_i3/i3status.conf b/dot_i3/i3status.conf
index 63149cf..4eaab97 100644
--- a/dot_i3/i3status.conf
+++ b/dot_i3/i3status.conf
@@ -9,17 +9,25 @@ general {
}
order += "ipv6"
-order += "disk /home"
-order += "run_watch DHCP"
-order += "run_watch VPN"
+# order += "run_watch DHCP"
+# order += "run_watch VPN"
order += "wireless wlan0"
order += "ethernet eth0"
+order += "disk /home"
+order += "mpd"
order += "volume master"
order += "battery 1"
order += "cpu_temperature 0"
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"
@@ -27,7 +35,7 @@ wireless wlan0 {
ethernet eth0 {
# if you use %speed, i3status requires root privileges
- format_up = "E: %ip (%speed)"
+ format_up = "E: %ip"
format_down = "E: down"
}