From 434ed8b3b579429a27203e207bc97bc7bbd4b17f Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 28 Apr 2015 13:48:08 -0400 Subject: [PATCH] Use urxvt --- i3/config | 9 +++-- scripts/pip.txt | 3 ++ shells/Xresources | 91 +++++++++++++++++++++++--------------------- zsh/key-bindings.zsh | 2 + 4 files changed, 58 insertions(+), 47 deletions(-) diff --git a/i3/config b/i3/config index 5023c1f..3af1306 100644 --- a/i3/config +++ b/i3/config @@ -2,10 +2,11 @@ set $mod Mod4 for_window [class=ownCloud] floating disable assign [class=Firefox] 2 assign [class=midori4] 2 +assign [class=Chromium-browser] 2 exec --no-startup-id "zsh -c 'xrandr --output LVDS1 --primary || xrandr --output HDMI3 --primary'" bindsym $mod+shift+d exec i3-input -F 'rename workspace to "%s"' -P 'Rename to: ' bindsym $mod+semicolon exec quickswitch.py -d 'rofi -dmenu $(i3-color-rofi)' -#bindsym $mod+semicolon exec rofi -term uxterm -show window $() +#bindsym $mod+semicolon exec rofi -term urxvt -show window $() bindsym $mod+p exec rofi -show run $(i3-color-rofi) bindsym $mod+shift+p exec "~/.i3/run.sh pass" #exec xrandr --output HDMI3 --left-of HDMI1 & @@ -90,8 +91,8 @@ bindsym $mod+z exec xdotool click 3 bindsym $mod+shift+z exec xdotool click 1 bindsym $mod+i border normal bindsym $mod+shift+i border 1pixel -bindsym $mod+Return exec uxterm -bindsym $mod+shift+Return exec uxterm -e "cd `xcwd`&&/bin/zsh" +bindsym $mod+Return exec urxvt +bindsym $mod+shift+Return exec urxvt -e "cd `xcwd`&&/bin/zsh" bindsym $mod+shift+c kill bindsym $mod+c move absolute position center bindsym $mod+F1 exec "~/.i3/run.sh lock" @@ -183,7 +184,7 @@ exec --no-startup-id xmodmap ~/.xmodmap exec --no-startup-id /home/stonewareslord/xmodmap.sh exec --no-startup-id i3-msg /usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000 # exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox' -exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/uxterm' +exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/urxvt' exec --no-startup-id /usr/bin/shutter --min_at_startup exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing exec --no-startup-id "sleep 25;/usr/bin/owncloud" diff --git a/scripts/pip.txt b/scripts/pip.txt index 3033389..9bb6215 100644 --- a/scripts/pip.txt +++ b/scripts/pip.txt @@ -4,6 +4,9 @@ matplotlib numpy tornado mps-youtube +# Swap monitors i3-py +# Go to window quickswitch-i3 +# https://github.com/nojhan/colout colout diff --git a/shells/Xresources b/shells/Xresources index f2c51cf..752eac8 100644 --- a/shells/Xresources +++ b/shells/Xresources @@ -1,48 +1,53 @@ -UXTerm*antialias: true -UXTerm*hinting: true -UXTerm*hintstyle: hintlight -UXTerm*rgba: rgb -UXTerm*faceName: -! UXTerm*faceName: Terminal:size=8:antialias=false -!UXTerm*font: xft:DejaVu Sans Mono-8 -UXTerm*borderWidth: 0 -! UXTerm*faceName: Source Code Pro for Powerline -UXerm*letterSpace: -1 +URxvt.antialias: true +URxvt.hinting: true +URxvt.hintstyle: hintlight +URxvt.rgba: rgb +URxvt.faceName: +! *faceName: Terminal:size=8:antialias=false +!*font: xft:DejaVu Sans Mono-8 +URxvt.borderWidth: 0 +URxvt.internalBorder: 0 +URxvt.border: 0 +! *faceName: Source Code Pro for Powerline +URxvt.letterSpace: 0 +URxvt.scrollBar: false -UXTerm*faceSize: 8 -UXTerm*utf8: 1 -UXTerm*vt100*geometry: 80x60 -UXTerm*saveLines: 16384 -UXTerm*loginShell: true -UXTerm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 -UXTerm*termName: xterm-256color -UXTerm*eightBitInput: false -UXTerm*selectToClipboard: true -UXTerm*vt100*internalBorder: 0 -UXTerm.*backarrowKey: false -*VT100*Translations: #override \ +URxvt.faceSize: 8 +URxvt.utf8: 1 +URxvt.vt100*geometry: 80x60 +URxvt.saveLines: 16384 +URxvt.loginShell: true +URxvt.charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 +URxvt.termName: xterm-256color +URxvt.eightBitInput: false +URxvt.selectToClipboard: true +URxvt.vt100*internalBorder: 0 +*backarrowKey: false +VT100*Translations: #override \ Home: string(0x01)\n\ End: string(0x05)\n -*VT100*translations: #override Shift : exec-formatted("firefox", PRIMARY) -UXTerm*foreground: #ffffff -UXTerm*background: #121212 -UXTerm*cursorColor: #ffffff -UXTerm*color0: #121212 -UXTerm*color8: #606060 -UXTerm*color1: #ff0000 -UXTerm*color9: #ff5f00 -UXTerm*color2: #00ff00 -UXTerm*color10: #00ff00 -UXTerm*color3: #ffff00 -UXTerm*color11: #ffff00 -UXTerm*color4: #0087ff -UXTerm*color12: #0087ff -UXTerm*color5: #ff0087 -UXTerm*color13: #ff0087 -UXTerm*color6: #00d7ff -UXTerm*color14: #00d7ff -UXTerm*color7: #ffffff -UXTerm*color15: #ffffff +URxvt*keysym.Home: \033[1~ +URxvt*keysym.End: \033[4~ +URxvt.VT100*translations: #override Shift : exec-formatted("firefox", PRIMARY) +URxvt.foreground: #ffffff +URxvt.background: #121212 +URxvt.cursorColor: #ffffff +URxvt.color0: #121212 +URxvt.color8: #606060 +URxvt.color1: #ff0000 +URxvt.color9: #ff5f00 +URxvt.color2: #00ff00 +URxvt.color10: #00ff00 +URxvt.color3: #ffff00 +URxvt.color11: #ffff00 +URxvt.color4: #0087ff +URxvt.color12: #0087ff +URxvt.color5: #ff0087 +URxvt.color13: #ff0087 +URxvt.color6: #00d7ff +URxvt.color14: #00d7ff +URxvt.color7: #ffffff +URxvt.color15: #ffffff ! Rofi settings -rofi.terminal: uxterm +rofi.terminal: urxvt diff --git a/zsh/key-bindings.zsh b/zsh/key-bindings.zsh index 2401dcf..35fd86b 100644 --- a/zsh/key-bindings.zsh +++ b/zsh/key-bindings.zsh @@ -40,6 +40,8 @@ fi if [[ "${terminfo[kend]}" != "" ]]; then bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line fi +bindkey '^[[1~' beginning-of-line +bindkey '^[[4~' end-of-line bindkey ' ' magic-space # [Space] - do history expansion