From 39995369943f094329fd3ad51dfc390998a25d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EFernando=20S=C3=A1nchez?= Date: Mon, 17 Jun 2013 15:08:20 +0200 Subject: [PATCH] Tweaks to i3 and zsh --- Xresources | 4 ++-- i3/config | 18 ++++++++++++++---- profile | 4 ++-- zshrc | 2 +- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Xresources b/Xresources index 00d643f..6462d82 100644 --- a/Xresources +++ b/Xresources @@ -3,10 +3,10 @@ !------------------------------------------------------------------------------- Xft.dpi: 96 -Xft.antialias: false +Xft.antialias: true Xft.rgba: rgb Xft.hinting: true -Xft.hintstyle: hintslight +Xft.hintstyle: hintfull !------------------------------------------------------------------------------- ! URxvt settings diff --git a/i3/config b/i3/config index e37ad3e..f6406ba 100644 --- a/i3/config +++ b/i3/config @@ -20,15 +20,20 @@ font xft:Deja Vu Sans 8 floating_modifier $mod #/exec # start a terminal -bindsym $mod+Return exec /home/jfernando/.bin/i3-one-instance urxvt # $HOME/.bin/one-instance urxvt +bindsym $mod+Return exec i3-one-instance urxvt # start lock bindsym Control+Mod1+l exec i3lock -bindsym Control+Mod1+w exec google-chrome +bindsym Control+Mod1+w exec i3-one-instance google-chrome bindsym Control+Mod1+g exec gvim bindsym Control+Mod1+f exec pcmanfm +# Spotify +bindsym XF86AudioPlay exec spotify-remote.py -a playPause +bindsym XF86AudioNext exec spotify-remote.py -a next +bindsym XF86AudioPrev exec spotify-remote.py -a previous + # kill focused window bindsym $mod+q kill @@ -146,6 +151,7 @@ bindsym $mod+r mode "resize" bindsym $mod+n exec i3-input -F 'rename workspace to %s' -P 'New name: ' + # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { @@ -159,6 +165,10 @@ client.unfocused #333333 #222222 #888888 #292d2e client.urgent #2f343a #900000 #ffffff #900000 for_window [class="^Google-chrome$"] border none -assign [class="Google-chrome" window_role="browser"] 2 Web +assign [class="Google-chrome" window_role="browser"] 2: Web for_window [class="^URxvt$"] border 1px -assign [class="^URxvt$"] 1 Term +assign [class="^URxvt$"] 1: Term + +workspace "1: Term" output DP1 +workspace "2: Web" output DP1 +workspace 3 output eDP1 diff --git a/profile b/profile index 8ad8758..b43552d 100644 --- a/profile +++ b/profile @@ -17,8 +17,8 @@ if [ -n "$BASH_VERSION" ]; then fi # set PATH so it includes user's private bin if it exists -if [ -d "$HOME/bin" ] ; then - PATH="$HOME/bin:$PATH" +if [ -d "$HOME/.bin" ] ; then + PATH="$HOME/.bin:$PATH" fi if [ -f $HOME/.Xmodmap ]; then diff --git a/zshrc b/zshrc index df44eaf..9103a82 100644 --- a/zshrc +++ b/zshrc @@ -1,4 +1,4 @@ -export PATH=$PATH:$HOME/.bin/:$HOME/.bin/i3-wm-scripts +export PATH="$PATH:$HOME/.bin/" # Only update the path if not running interactively [ -z "$PS1" ] && return