Changeset 909bc1c77c7b14ddb74df5eb488a2cd9288e0327
- Timestamp:
- 09/01/10 15:49:58 (17 months ago)
- Children:
- e7bf52cedc5410a62a59bfc22946d72454d3a5ac
- Parents:
- cadb525021a211c188d97fc9f03e59b3534cf108
- git-author:
- Luper Rouch <luper.rouch@…> (09/01/10 15:48:42)
- git-committer:
- Luper Rouch luper.rouch@…> (09/01/10 15:49:58)
- Location:
- various/config
- Files:
-
- 2 added
- 5 edited
-
awesome/rc.lua (modified) (7 diffs)
-
awesome/themes/zenburn/icons/bat.png (added)
-
awesome/themes/zenburn/theme.lua (modified) (1 diff)
-
awesome/vicious/widgets/bat.lua (modified) (2 diffs)
-
dot-xchat2/.gitignore (added)
-
dot-xchat2/ignore.conf (modified) (1 diff)
-
dot-xchat2/xchat.conf (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
various/config/awesome/rc.lua
r37bbbc7 r909bc1c 58 58 ["qt"] = { position = 3, layout = awful.layout.suit.max }, 59 59 ["p2p"] = { position = 4 }, 60 61 ["chat"] = { position = 1, screen = 2, init = true }, 60 ["gimp"] = { position = 5, layout = awful.layout.suit.tile, 61 mwfact = 0.18, icon="/usr/share/pixmaps/gimp.png" }, 62 ["palette"] = { position = 2, exclusive = true }, 63 64 ["chat"] = { position = 10, screen = 2, init = true }, 62 65 } 63 66 … … 72 75 { match = { "Qt Assistant", "Qt Designer" }, tag = "qt", float = false }, 73 76 { match = { "Ktorrent" }, tag = "p2p" }, 77 { match = { "Gimp" }, tag = "gimp" }, 78 { match = { "gimp%-image%-window" }, tag = "gimp", slave = true }, 79 { match = { "palette-editor.py", "palette-client.py" }, tag = "palette" }, 74 80 { match = { "" }, buttons = awful.util.table.join( 75 81 awful.button({ }, 1, function (c) client.focus = c; c:raise() end), … … 114 120 vicious.register(memwidget, vicious.widgets.mem, " $2MB/$3MB", 13) 115 121 116 -- CPU Widget 122 -- CPU Widgets 117 123 cpuwidget = widget({ type = "textbox" }) 118 124 vicious.register(cpuwidget, vicious.widgets.cpu, "$1%") 125 cpufreqwidget = widget({ type = "textbox" }) 126 vicious.register(cpufreqwidget, vicious.widgets.cpufreq, "($1MHz)", 1, "cpu0") 119 127 120 128 -- Net Widget … … 125 133 -- tempwidget = widget({ type = "textbox", name = "tempwidget" }) 126 134 -- vicious.register(tempwidget, vicious.widgets.thermal, "$1°C", 20, "thermal_zone2") 135 136 baticon = widget({ type = "imagebox" }) 137 baticon.image = image(beautiful.widget_bat) 138 -- Initialize widget 139 batwidget = widget({ type = "textbox" }) 140 -- Register widget 141 vicious.register(batwidget, vicious.widgets.bat, "$1$2% ($4)", 1, "BAT0") 127 142 128 143 -- Icones … … 156 171 mymemicon.image = image(beautiful.widget_mem) 157 172 173 mybaticon = widget({ type = "imagebox", name = "mybaticon" }) 174 mybaticon.image = image(beautiful.widget_bat) 158 175 -- }}} 159 176 … … 239 256 myneticonup, netwidget, myneticon, 240 257 myspacer, 241 cpu widget, mycpuicon,258 cpufreqwidget, myspacer, cpuwidget, mycpuicon, 242 259 myspacer, 243 260 memwidget, mymemicon, 261 batwidget, mybaticon, 244 262 mytasklist[s], 245 263 layout = awful.widget.layout.horizontal.rightleft, … … 407 425 408 426 awful.util.spawn_with_shell("gnome-settings-daemon") 427 awful.util.spawn_with_shell("gnome-volume-control-applet") 428 awful.util.spawn_with_shell("gnome-power-manager") 409 429 awful.util.spawn_with_shell("xchat-gnome --class xchat") 410 430 awful.util.spawn_with_shell("pidgin") 411 431 awful.util.spawn_with_shell("chromium-browser") 412 awful.util.spawn_with_shell("gnome-volume-control-applet") 413 414 -- }}} 432 awful.util.spawn_with_shell("nm-applet") 433 awful.util.spawn_with_shell("ssh-add") 434 435 -- }}} -
various/config/awesome/themes/zenburn/theme.lua
r37bbbc7 r909bc1c 134 134 theme.widget_fs = prefix .. "icons/disk.png" 135 135 theme.widget_mem = prefix .. "icons/mem.png" 136 theme.widget_bat = prefix .. "icons/bat.png" 136 137 -- }}} 137 138 -
various/config/awesome/vicious/widgets/bat.lua
r37bbbc7 r909bc1c 7 7 local tonumber = tonumber 8 8 local setmetatable = setmetatable 9 local string = { format = string.format } 9 local string = { 10 format = string.format, 11 match = string.match, 12 find = string.find 13 } 14 local io = { open = io.open } 10 15 local helpers = require("vicious.helpers") 11 16 local math = { … … 74 79 local time = string.format("%02d:%02d", hoursleft, minutesleft) 75 80 76 return {state, percent, time} 81 -- Get charge/discharge rate 82 local batstate = io.open("/proc/acpi/battery/"..warg.."/state"):read("*all") 83 local charge_rate = string.match(batstate, "present rate: +([0-9]+ mW)") 84 85 return {state, percent, time, charge_rate} 77 86 end 78 87 -- }}} -
various/config/dot-xchat2/ignore.conf
rcadb525 r909bc1c 1 mask = *!*@adsl-177-221-238.msy.bellsouth.net2 type = 83 4 mask = *!*@ip24-251-118-125.ph.ph.cox.net5 type = 86 7 mask = *!*@174-24-58-172.clsp.qwest.net8 type = 89 10 mask = *!*@ip-66-80-74-18.iad.megapath.net11 type = 812 13 mask = *!*@dialin.inttek.net14 type = 815 16 mask = *!*@bl8-6-36.dsl.telepac.pt17 type = 818 19 mask = zdczxlynbnd!*@*20 type = 15921 22 mask = lwahddcn!*@*23 type = 15924 25 mask = dntvewessa!*@*26 type = 15927 28 mask = kyczxffm!*@*29 type = 15930 31 mask = ftzsoqdct!*@*32 type = 15933 34 mask = vyhxdpmse!*@*35 type = 15936 37 mask = uqyxmw!*@*38 type = 15939 40 mask = oOo!*@*41 type = 15942 -
various/config/dot-xchat2/xchat.conf
rcadb525 r909bc1c 17 17 dcc_auto_send = 2 18 18 dcc_blocksize = 1024 19 dcc_completed_dir = /home/flupke/.xchat2/downloads19 dcc_completed_dir = 20 20 dcc_dir = /home/flupke/.xchat2/downloads 21 21 dcc_fast_send = 1 … … 50 50 gui_input_spell = 1 51 51 gui_input_style = 0 52 gui_join_dialog = 052 gui_join_dialog = 1 53 53 gui_lagometer = 1 54 54 gui_mode_buttons = 0 55 gui_pane_left_size = 1 9656 gui_pane_right_size = 057 gui_quit_dialog = 058 gui_slist_select = 3155 gui_pane_left_size = 100 56 gui_pane_right_size = 100 57 gui_quit_dialog = 1 58 gui_slist_select = 0 59 59 gui_slist_skip = 0 60 60 gui_throttlemeter = 1 … … 74 74 gui_url_mod = 4 75 75 gui_usermenu = 0 76 gui_win_height = 112576 gui_win_height = 400 77 77 gui_win_left = 0 78 78 gui_win_save = 1 79 gui_win_state = 180 gui_win_top = 2481 gui_win_width = 192079 gui_win_state = 0 80 gui_win_top = 0 81 gui_win_width = 640 82 82 input_balloon_chans = 0 83 83 input_balloon_hilight = 0
Note: See TracChangeset
for help on using the changeset viewer.
