Skip to content

Commit

Permalink
two new scripts & misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud authored and Cloud committed Sep 23, 2011
1 parent 4afd724 commit 3f3006f
Show file tree
Hide file tree
Showing 14 changed files with 139 additions and 415 deletions.
2 changes: 1 addition & 1 deletion .Xresources
Expand Up @@ -11,7 +11,7 @@
!#define FONT_UNDERLINE xft:Montecarlo:underline:pixelsize=10

! Colors
#include "/home/cloud/.colors/vector"
#include "/home/cloud/.colors/muted_tree"

!*background: #1C1C1C
!*foreground: #DDEEDD
Expand Down
4 changes: 2 additions & 2 deletions .colors/muted_tree
@@ -1,15 +1,15 @@
! file: .colors/muted_tree
! variation of Hims Xdefaults

*color0: #131313
*color0: #1E1E1E
*color1: #E57DA9
*color2: #8ED88E
*color3: #ecebbe
*color4: #a9cdeb
*color5: #8F6795
*color6: #c9caec
*color7: #f2f2f2
*color8: #141414
*color8: #3E3E3E
*color9: #f99286
*color10: #c3f786
*color11: #fcfbcc
Expand Down
7 changes: 4 additions & 3 deletions .config/awesome/rc.lua
Expand Up @@ -72,19 +72,19 @@ spacer.text = " "
mpdicon = widget({ type = "imagebox" })
mpdicon.image = image(beautiful.music_icon)
mpdwidget = widget({ type = "textbox", name = "mpdwidget" })
vicious.register(mpdwidget, vicious.widgets.mpd, "<span color='" .. beautiful.fg_green .. "'>MPD:</span> ${Artist} - <span color='" .. beautiful.fg_blue .. "'>${Title}</span>", 5)
vicious.register(mpdwidget, vicious.widgets.mpd, "<span color='" .. beautiful.fg_blue .. "'>MPD:</span> <span color='" .. beautiful.fg_green .. "'>${Artist}</span> - ${Title}", 5)

-- Date and time
dateicon = widget({ type = "imagebox" })
dateicon.image = image(beautiful.time_icon)
datewidget = widget({ type = "textbox", name = "datewidget" })
vicious.register(datewidget, vicious.widgets.date, "<span color='" .. beautiful.fg_blue .. "'>@%R</span>", 59)
vicious.register(datewidget, vicious.widgets.date, "<span color='" .. beautiful.fg_purple .. "'>@%R</span>", 59)

-- Battery widget
baticon = widget({ type = "imagebox" })
baticon.image = image(beautiful.battery_icon)
batwidget = widget({ type = "textbox", name = "batwidget" })
vicious.register(batwidget, vicious.widgets.bat, "<span color='" .. beautiful.fg_green .. "'>BAT:</span> <span color='" .. beautiful.fg_dark .. "'>$2</span>%", 183, 'BAT0')
vicious.register(batwidget, vicious.widgets.bat, "<span color='" .. beautiful.fg_blue .. "'>BAT:</span> $2%", 183, 'BAT0')

-- ToolTip
datewidget.tooltip = awful.tooltip({
Expand Down Expand Up @@ -300,6 +300,7 @@ clientkeys = awful.util.table.join(
end),
-- Initiate modal keybindings
awful.key({ modkey, }, "F3", function(c)
naughty.notify({ text="Modal Keybindings" })
keygrabber.run(function(mod, key, event)
if event == "release" then return true end
if float_mode[key] then float_mode[key](c)
Expand Down
1 change: 1 addition & 0 deletions .config/zsh/aliases
Expand Up @@ -55,6 +55,7 @@ alias -g em="sudo emerge -a"
alias -g emr="sudo emerge -C"
alias -g emu="sudo emerge -uDa world"
alias dgraph="equery g"
alias dograph="equery depends"
alias use="equery u"
alias unstable="qlist -I 9999 --nocolor | xargs sudo emerge"

Expand Down
4 changes: 4 additions & 0 deletions .config/zsh/functions
Expand Up @@ -36,6 +36,10 @@ function acpi_call {
cd $orig
}

function mathhw {
curl -s http://www.math.ufl.edu/~aipew/ | grep $1 | grep -v Test | awk -F'[><]' '{print $2}'
}

#-- Shamelessly stolen from Milomouse --#
function cpf {
if [[ -d $*[-1] ]]; then
Expand Down

0 comments on commit 3f3006f

Please sign in to comment.