1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-23 20:52:28 +00:00

Tweaks to i3 and zsh

This commit is contained in:
J.Fernando Sánchez 2013-06-17 15:08:20 +02:00
parent 5934f9164b
commit 3999536994
4 changed files with 19 additions and 9 deletions

View File

@ -3,10 +3,10 @@
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
Xft.dpi: 96 Xft.dpi: 96
Xft.antialias: false Xft.antialias: true
Xft.rgba: rgb Xft.rgba: rgb
Xft.hinting: true Xft.hinting: true
Xft.hintstyle: hintslight Xft.hintstyle: hintfull
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
! URxvt settings ! URxvt settings

View File

@ -20,15 +20,20 @@ font xft:Deja Vu Sans 8
floating_modifier $mod floating_modifier $mod
#/exec #/exec
# start a terminal # 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 # start lock
bindsym Control+Mod1+l exec i3lock 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+g exec gvim
bindsym Control+Mod1+f exec pcmanfm 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 # kill focused window
bindsym $mod+q kill 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: ' 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 # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
@ -159,6 +165,10 @@ client.unfocused #333333 #222222 #888888 #292d2e
client.urgent #2f343a #900000 #ffffff #900000 client.urgent #2f343a #900000 #ffffff #900000
for_window [class="^Google-chrome$"] border none 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 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

View File

@ -17,8 +17,8 @@ if [ -n "$BASH_VERSION" ]; then
fi fi
# set PATH so it includes user's private bin if it exists # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/.bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/.bin:$PATH"
fi fi
if [ -f $HOME/.Xmodmap ]; then if [ -f $HOME/.Xmodmap ]; then

2
zshrc
View File

@ -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 # Only update the path if not running interactively
[ -z "$PS1" ] && return [ -z "$PS1" ] && return