Skip to content
Browse files

starting the pimping and migration.

urxvt tabbing will need more work - possibly migrating to urxvt-tebbedex
  • Loading branch information...
1 parent 8ff3b25 commit 4a6d3346e1a278925cffbdc987b2730176c0e9f6 Jakub committed Oct 10, 2010
Showing with 187 additions and 208 deletions.
  1. +18 −99 Xdefaults-desktop
  2. +18 −99 Xdefaults-laptop
  3. +97 −10 awesome/rc.lua
  4. +54 −0 zshrc
View
117 Xdefaults-desktop
@@ -1,15 +1,12 @@
-!shameless ripoff
-! desktop version
-!URxvt*font: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-!URxvt*boldFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-!URxvt*italicFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-!URxvt*boldItalicFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-
-!URxvt*font: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-!URxvt*boldFont: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-!URxvt*italicFont: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-!URxvt*boldItalicFont: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-
+Xcursor.theme:Bluecurve
+!------------
+!True Transparency
+!------------
+!set to 32-bit for real transparency (compositing required (see xcompmgr)
+urxvt*depth: 32
+!transparent=0000 opaque=ffff
+urxvt*background: rgba:1111/1111/1111/dddd
+!urxvt*background: rgba:1111/1111/1111/0000
URxvt*saveLines: 32767
URxvt*scrollBar: false
URxvt*scrollBar_right: true
@@ -18,48 +15,24 @@ URxvt*shading: 30
URxvt*termName: rxvt-unicode
URxvt*secondaryScroll: true
urxvt*perl-lib: /usr/lib/urxvt/perl/
-urxvt*perl-ext-common: default,matcher,searchable-scrollback
-URxvt*urlLauncher: /usr/bin/firefox-nightly
+urxvt*perl-ext-common: default,tabbed,url-select,searchable-scrollback
+URxvt*urlLauncher: /usr/bin/opera-devel
+URxvt:underlineURLs: true
+URxvt:keysym.M-u: perl:url-select:select_next
URxvt*matcher.button: 1
-urxvt.cutchars: `()'*<>[]{|}"
-URxvt*cutchars: `"()'*<>[]{|}
URxvt*visualBell: true
URxvt*keysym.C-u: perl:matcher
URxvt*urgentOnBell: true
URxvt*cursorColor: #6dacd8
!URxvt*inheritPixmap: true
-
-! IR_Black
-!URxvt*background: #000000
-!URxvt*foreground: #DCDCCC
-!black
-!URxvt*color0: #4E4E4E
-!URxvt*color8: #7C7C7C
-!red
-!URxvt*color1: #FF6C60
-!URxvt*color9: #FFB6B0
-!green
-!URxvt*color2: #A8FF60
-!URxvt*color10: #CEFFAB
-!yellow
-!URxvt*color3: #FFFFB6
-!URxvt*color11: #FFFFCB
-!blue
-!URxvt*color4: #96CBFE
-!URxvt*color12: #FFFFCB
-!magenta
-!URxvt*color5: #FF73FD
-!URxvt*color13: #FF9CFE
-!cyan
-!URxvt*color6: #C6C5FE
-!URxvt*color14: #DFDFFE
-!white
-!URxvt*color7: #EEEEEE
-!URxvt*color15: #FFFFFF
+URxvt.tabbed.tabbar-fg: 7
+URxvt.tabbed.tabbar-bg: 0
+URxvt.tabbed.tab-fg: 4
+URxvt.tabbed.tab-bg: 0
! Daisuke
URxvt*background: #000000
-URxvt*foreground: #dcdccc
+URxvt*foreground: #dfdfdf
!black
URxvt*color0: #1e1e1e
URxvt*color8: #505050
@@ -85,60 +58,6 @@ URxvt*color14: #c9dee8
URxvt*color7: #808080
URxvt*color15: #b0b0b0
-! Light
-!URxvt*background: #f0f0f0
-!URxvt*foreground: #22303d
-! black
-!URxvt*color0: #cbd9e2
-!URxvt*color8: #666666
-! red
-!URxvt*color1: #6dacd8
-!URxvt*color9: #62aada
-! green
-!URxvt*color2: #315b81
-!URxvt*color10: #477ea7
-! yellow
-!URxvt*color3: #4282b0
-!URxvt*color11: #62aada
-! blue
-!URxvt*color4: #315b81
-!URxvt*color12: #477ea7
-! magenta
-!URxvt*color5: #4282b0
-!URxvt*color13: #62aada
-! cyan
-!URxvt*color6: #315b81
-!URxvt*color14: #477ea7
-! white
-!URxvt*color7: #22303d
-!URxvt*color15: #444444
-
-! Tango
-! Black
-!URxvt*color0: #1e1e1e
-!URxvt*color8: #555753
-! Red
-!URxvt*color1: #CC0000
-!URxvt*color9: #EF2929
-! Green
-!URxvt*color2: #4E9A06
-!URxvt*color10: #8AE234
-! Yellow
-!URxvt*color3: #C4A000
-!URxvt*color11: #FCE94F
-! Blue
-!URxvt*color4: #3465A4
-!URxvt*color12: #729FCF
-! Purple
-!URxvt*color5: #75507B
-!URxvt*color13: #AD7FA8
-! Cyan
-! have to use rgb: here, doesn't work otherwise :O
-!URxvt*color6: rgb:06/98/9A
-!URxvt*color14: #34E2E2
-! White
-!URxvt*color7: #9f9f9f
-!URxvt*color15: #e0e0e0
! Zenburn
!URxvt*background: #3F3F3F
View
117 Xdefaults-laptop
@@ -1,15 +1,12 @@
-!shameless ripoff
-! laptop version
-!URxvt*font: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-!URxvt*boldFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-!URxvt*italicFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-!URxvt*boldItalicFont: -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-*-*
-
-!URxvt*font: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-!URxvt*boldFont: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-!URxvt*italicFont: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-!URxvt*boldItalicFont: -*-terminus-medium-r-*-*-12-120-*-*-*-*-*-*
-
+Xcursor.theme:Bluecurve
+!------------
+!True Transparency
+!------------
+!set to 32-bit for real transparency (compositing required (see xcompmgr)
+urxvt*depth: 32
+!transparent=0000 opaque=ffff
+urxvt*background: rgba:1111/1111/1111/dddd
+!urxvt*background: rgba:1111/1111/1111/0000
URxvt*saveLines: 32767
URxvt*scrollBar: false
URxvt*scrollBar_right: true
@@ -18,48 +15,24 @@ URxvt*shading: 30
URxvt*termName: rxvt-unicode
URxvt*secondaryScroll: true
urxvt*perl-lib: /usr/lib/urxvt/perl/
-urxvt*perl-ext-common: default,matcher,searchable-scrollback
-URxvt*urlLauncher: /usr/bin/firefox-nightly
+urxvt*perl-ext-common: default,tabbed,url-select,searchable-scrollback
+URxvt*urlLauncher: /usr/bin/opera-devel
+URxvt:underlineURLs: true
+URxvt:keysym.M-u: perl:url-select:select_next
URxvt*matcher.button: 1
-urxvt.cutchars: `()'*<>[]{|}"
-URxvt*cutchars: `"()'*<>[]{|}
URxvt*visualBell: true
URxvt*keysym.C-u: perl:matcher
URxvt*urgentOnBell: true
URxvt*cursorColor: #6dacd8
!URxvt*inheritPixmap: true
-
-! IR_Black
-!URxvt*background: #000000
-!URxvt*foreground: #DCDCCC
-!black
-!URxvt*color0: #4E4E4E
-!URxvt*color8: #7C7C7C
-!red
-!URxvt*color1: #FF6C60
-!URxvt*color9: #FFB6B0
-!green
-!URxvt*color2: #A8FF60
-!URxvt*color10: #CEFFAB
-!yellow
-!URxvt*color3: #FFFFB6
-!URxvt*color11: #FFFFCB
-!blue
-!URxvt*color4: #96CBFE
-!URxvt*color12: #FFFFCB
-!magenta
-!URxvt*color5: #FF73FD
-!URxvt*color13: #FF9CFE
-!cyan
-!URxvt*color6: #C6C5FE
-!URxvt*color14: #DFDFFE
-!white
-!URxvt*color7: #EEEEEE
-!URxvt*color15: #FFFFFF
+URxvt.tabbed.tabbar-fg: 7
+URxvt.tabbed.tabbar-bg: 0
+URxvt.tabbed.tab-fg: 4
+URxvt.tabbed.tab-bg: 0
! Daisuke
URxvt*background: #000000
-URxvt*foreground: #dcdccc
+URxvt*foreground: #dfdfdf
!black
URxvt*color0: #1e1e1e
URxvt*color8: #505050
@@ -85,60 +58,6 @@ URxvt*color14: #c9dee8
URxvt*color7: #808080
URxvt*color15: #b0b0b0
-! Light
-!URxvt*background: #f0f0f0
-!URxvt*foreground: #22303d
-! black
-!URxvt*color0: #cbd9e2
-!URxvt*color8: #666666
-! red
-!URxvt*color1: #6dacd8
-!URxvt*color9: #62aada
-! green
-!URxvt*color2: #315b81
-!URxvt*color10: #477ea7
-! yellow
-!URxvt*color3: #4282b0
-!URxvt*color11: #62aada
-! blue
-!URxvt*color4: #315b81
-!URxvt*color12: #477ea7
-! magenta
-!URxvt*color5: #4282b0
-!URxvt*color13: #62aada
-! cyan
-!URxvt*color6: #315b81
-!URxvt*color14: #477ea7
-! white
-!URxvt*color7: #22303d
-!URxvt*color15: #444444
-
-! Tango
-! Black
-!URxvt*color0: #1e1e1e
-!URxvt*color8: #555753
-! Red
-!URxvt*color1: #CC0000
-!URxvt*color9: #EF2929
-! Green
-!URxvt*color2: #4E9A06
-!URxvt*color10: #8AE234
-! Yellow
-!URxvt*color3: #C4A000
-!URxvt*color11: #FCE94F
-! Blue
-!URxvt*color4: #3465A4
-!URxvt*color12: #729FCF
-! Purple
-!URxvt*color5: #75507B
-!URxvt*color13: #AD7FA8
-! Cyan
-! have to use rgb: here, doesn't work otherwise :O
-!URxvt*color6: rgb:06/98/9A
-!URxvt*color14: #34E2E2
-! White
-!URxvt*color7: #9f9f9f
-!URxvt*color15: #e0e0e0
! Zenburn
!URxvt*background: #3F3F3F
View
107 awesome/rc.lua
@@ -2,6 +2,11 @@
require("awful")
require("awful.autofocus")
require("awful.rules")
+
+--Dynamic tagging
+--require("eminent")
+--require("shifty")
+
-- Theme handling library
require("beautiful")
-- Notification library
@@ -13,7 +18,8 @@ beautiful.init("/usr/share/awesome/themes/default/theme.lua")
-- This is used later as the default terminal and editor to run.
--terminal = "xterm"
-terminal = "urxvt -tr -tint black -sh 60 -fg white +sb"
+--terminal = "urxvt -tr -tint black -sh 60 -fg white +sb"
+terminal = "urxvt -tr -tint black -sh 60 -fg white +sb -fn 'xft:Terminus:pixelsize=12' "
editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor
@@ -49,7 +55,50 @@ for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
end
--- }}}
+---- }}}
+
+--shifty.config.tags = {
+-- ["1:sys"] = { init = true, position = 1, screen = 1, layout=tile.bottom, ncol =2, },
+-- ["2:opera"] = { exclusive = true, max_clients = 2, position = 2, spawn = "opera" },
+-- ["3:edit"] = { persist = true, position = 3, },
+-- ["files"] = { nopopup = true, leave_kills = true, rel_index=1 },
+-- ["music"] = { icon = "/usr/share/pixmaps/exaile.png", icon_only = true, },
+-- ["deluge"] = { layout = "tile", mwfact = 0.18, icon="/usr/share/pixmaps/deluge.png", },
+--}
+--
+--shifty.config.apps = {
+-- { match = {"urxvt","htop" }, tag = "1:sys", screen = 1, },
+-- { match = {"opera.*" }, tag = "2:www", screen = 1, },
+-- { match = {"thunar","pcmanfm" }, tag = "files", screen = 1, },
+-- { match = {"Deluge" }, tag = "deluge", screen = 1, },
+-- { match = { "" }, buttons = {
+-- button({ }, 1, function (c) client.focus = c; c:raise() end),
+-- button({ modkey }, 1, function (c) awful.mouse.client.move() end),
+-- button({ modkey }, 3, awful.mouse.client.resize ), }, },
+--}
+--
+--shifty.config.defaults = {
+-- layout = "max",
+-- run = function(tag) naughty.notify({ text = tag.name }) end,
+--}
+--
+--shifty.init()
+--
+--shifty.taglist = mytaglist
+
+
+autostart = false
+myautostart = {
+ "xscreensaver -nosplash",
+ "pidgin -n"
+}
+
+
+if autostart then
+ for app=1,#myautostart do
+ awful.uutil.spawn(myautostart[app])
+ end
+end
-- {{{ Menu
-- Create a laucher widget and a main menu
@@ -163,9 +212,15 @@ root.buttons(awful.util.table.join(
-- {{{ Key bindings
globalkeys = awful.util.table.join(
- awful.key({ modkey, }, "Left", awful.tag.viewprev ),
- awful.key({ modkey, }, "Right", awful.tag.viewnext ),
+ --awful.key({ modkey, "Shift" }, "Left", shifty.shift_next ),
+ --awful.key({ modkey, "Shift" }, "Right", shifty.shift_prev ),
+ awful.key({ modkey, }, "Left", awful.tag.viewprev ),
+ awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
+ --awful.key({ modkey }, "t", function() shifty.add({ rel_index = 1 }) end),
+ --awful.key({ modkey, "Control" }, "t", function() shifty.add({ rel_index = 1, nopopup = true }) end),
+ --awful.key({ modkey,"Shift" }, "r", shifty.rename),
+ --awful.key({ modkey }, "w", shifty.del),
awful.key({ modkey, }, "j",
function ()
@@ -240,6 +295,9 @@ for s = 1, screen.count() do
keynumber = math.min(9, math.max(#tags[s], keynumber));
end
+
+
+--
-- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it works on any keyboard layout.
-- This should map on the top row of your keyboard, usually 1 to 9.
@@ -273,14 +331,44 @@ for i = 1, keynumber do
end))
end
+--for i=1,9 do
+--
+-- globalkeys = awful.util.table.join(globalkeys, awful.key({ modkey }, i,
+-- function ()
+-- local t = awful.tag.viewonly(shifty.getpos(i))
+-- end))
+-- globalkeys = awful.util.table.join(globalkeys, awful.key({ modkey, "Control" }, i,
+-- function ()
+-- local t = shifty.getpos(i)
+-- t.selected = not t.selected
+-- end))
+-- globalkeys = awful.util.table.join(globalkeys, awful.key({ modkey, "Control", "Shift" }, i,
+-- function ()
+-- if client.focus then
+-- awful.client.toggletag(shifty.getpos(i))
+-- end
+-- end))
+-- -- move clients to other tags
+-- globalkeys = awful.util.table.join(globalkeys, awful.key({ modkey, "Shift" }, i,
+-- function ()
+-- if client.focus then
+-- local t = shifty.getpos(i)
+-- awful.client.movetotag(t)
+-- awful.tag.viewonly(t)
+-- end
+-- end))
+--end
+--
clientbuttons = awful.util.table.join(
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
awful.button({ modkey }, 1, awful.mouse.client.move),
awful.button({ modkey }, 3, awful.mouse.client.resize))
-
--- Set keys
+--
+---- Set keys
root.keys(globalkeys)
--- }}}
+--shifty.config.globalkeys = globalkeys
+--shifty.config.clientkeys = clientkeys
+--}}}
-- {{{ Rules
awful.rules.rules = {
@@ -299,9 +387,8 @@ awful.rules.rules = {
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
- -- Set Firefox to always map on tags number 2 of screen 1.
- -- { rule = { class = "Firefox" },
- -- properties = { tag = tags[1][2] } },
+ -- { rule = { class = "Opera" },
+ -- properties = { tag = tags[2] } },
}
-- }}}
View
54 zshrc
@@ -0,0 +1,54 @@
+# Lines configured by zsh-newuser-install
+HISTFILE=~/.histfile
+HISTSIZE=1000
+SAVEHIST=1000
+setopt appendhistory autocd extendedglob
+setopt autopushd pushdminus pushdsilent pushdtohome
+setopt autocd
+setopt cdablevars
+setopt ignoreeof
+setopt interactivecomments
+setopt nobanghist
+setopt noclobber
+setopt HIST_REDUCE_BLANKS
+setopt HIST_IGNORE_SPACE
+setopt SH_WORD_SPLIT
+setopt nohup
+bindkey -e
+# End of lines configured by zsh-newuser-install
+# The following lines were added by compinstall
+zstyle :compinstall filename '/home/brokendwarf/.zshrc'
+typeset -g -A key
+bindkey '^?' backward-delete-char
+bindkey '^[[7~' beginning-of-line
+bindkey '^[[5~' up-line-or-history
+bindkey '^[[3~' delete-char
+bindkey '^[[8~' end-of-line
+bindkey '^[[6~' down-line-or-history
+bindkey '^[[A' up-line-or-search
+bindkey '^[[D' backward-char
+bindkey '^[[B' down-line-or-search
+bindkey '^[[C' forward-char
+# completion in the middle of a line
+bindkey '^i' expand-or-complete-prefix
+
+autoload -U compinit promptinit
+compinit
+promptinit
+prompt adam2
+zstyle ':completion:*' menu select
+
+# allow approximate
+ zstyle ':completion:*' completer _complete _match _approximate
+ zstyle ':completion:*:match:*' original only
+ zstyle ':completion:*:approximate:*' max-errors 1 numeric
+#
+# # tab completion for PID :D
+ zstyle ':completion:*:*:kill:*' menu yes select
+ zstyle ':completion:*:kill:*' force-list always
+#
+# # cd not select parent dir
+
+ zstyle ':completion:*:cd:*' ignore-parents parent pwd
+
+ alias sudo='sudo -p "sudo password:"'

0 comments on commit 4a6d334

Please sign in to comment.
Something went wrong with that request. Please try again.