summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-06-21 19:44:27 +0200
committerUrbain Vaes <urbain@vaes.uk>2015-06-21 19:44:27 +0200
commit85feed94521489dbdd2acfaef0b06fc1696c2e42 (patch)
tree256c4ba2fe22c4c1e266956c4aa4268b5fc0f41b
parent14939543d3644668f4104d829d51f9a3271142b6 (diff)
Add urxvt extensions
-rw-r--r--Xresources15
-rw-r--r--i3/config27
-rwxr-xr-xi3/i3-init2
m---------urxvt/ext0
4 files changed, 27 insertions, 17 deletions
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
+Subproject e4dbde31edd19e2f4c2b6c91117ee91e2f83ddd