From 85feed94521489dbdd2acfaef0b06fc1696c2e42 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 21 Jun 2015 19:44:27 +0200 Subject: Add urxvt extensions --- Xresources | 15 ++++++++++----- i3/config | 27 +++++++++++++++------------ i3/i3-init | 2 ++ urxvt/ext | 1 + 4 files changed, 28 insertions(+), 17 deletions(-) create mode 100755 i3/i3-init create mode 160000 urxvt/ext diff --git a/Xresources b/Xresources index 15f28a2..7358701 100644 --- a/Xresources +++ b/Xresources @@ -15,26 +15,31 @@ XTerm*selectToClipboard: true ! Custom META key URxvt*modifier: alt -! Perl extensons configuration -URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select -URxvt.url-select.launcher: /usr/bin/uzbl -URxvt.url-select.underline: true +! Copy-paste configuration URxvt.clipboard.copycmd: xclip -i -selection clipboard URxvt.clipboard.pastecmd: xclip -o -selection clipboard +! Perl extensions configuration +URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,fullscreen +URxvt.url-select.launcher: /usr/bin/uzbl +URxvt.url-select.underline: true + ! Key bindings for extensions URxvt.keysym.M-Escape: perl:keyboard-select:activate URxvt.keysym.M-s: perl:keyboard-select:search URxvt.keysym.M-u: perl:url-select:select_next URxvt.keysym.M-c: perl:clipboard:copy URxvt.keysym.M-v: perl:clipboard:paste +URxvt.keysym.F11: perl:fullscreen:switch ! Appearance URxvt*font: xft:DejaVu Sans Mono:size=12 URxvt*scrollBar: false -URxvt.depth: 32 URxvt*cursorColor: Green +! True transparency +URxvt.depth: 32 + ! Colors URxvt*background: [80]Black URxvt*foreground: White diff --git a/i3/config b/i3/config index f264c31..0d02a52 100644 --- a/i3/config +++ b/i3/config @@ -40,10 +40,10 @@ bindsym $mod+d exec dmenu_run # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right +bindsym $mod+h focus left +bindsym $mod+t focus down +bindsym $mod+n focus up +bindsym $mod+s focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -52,10 +52,10 @@ bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+J move left -bindsym $mod+Shift+K move down -bindsym $mod+Shift+L move up -bindsym $mod+Shift+colon move right +bindsym $mod+Shift+H move left +bindsym $mod+Shift+T move down +bindsym $mod+Shift+N move up +bindsym $mod+Shift+S move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left @@ -64,7 +64,7 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+h split h +# bindsym $mod+n split h # split in vertical orientation bindsym $mod+v split v @@ -73,9 +73,9 @@ bindsym $mod+v split v bindsym $mod+f fullscreen # change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking +bindsym $mod+r layout stacking bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split +bindsym $mod+g layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -144,10 +144,13 @@ mode "resize" { bindsym Escape mode "default" } -bindsym $mod+r mode "resize" +# bindsym $mod+r mode "resize" +bindsym $mod+m exec /home/urbain/.i3/winmenu.py # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { status_command i3status } + +exec_always i3-init diff --git a/i3/i3-init b/i3/i3-init new file mode 100755 index 0000000..367b37a --- /dev/null +++ b/i3/i3-init @@ -0,0 +1,2 @@ +setxkbmap -layout us -variant dvp +xrdb ~/.Xresources diff --git a/urxvt/ext b/urxvt/ext new file mode 160000 index 0000000..e4dbde3 --- /dev/null +++ b/urxvt/ext @@ -0,0 +1 @@ +Subproject commit e4dbde31edd19e2f4c2b6c91117ee91e2f83ddd7 -- cgit v1.2.3