2007-02-07

ion3 configurations

Relatively simple ion3 customizations

~/.ion3 $ wget http://modeemi.fi/~tuomov/repos/ion-scripts-3/scripts/switch_bindings.lua
~/.ion3 $ wget http://modeemi.fi/~tuomov/repos/ion-scripts-3/statusd/statusd_iwinfo.lua
~/.ion3 $ wget http://modeemi.fi/~tuomov/repos/ion-scripts-3/statusd/statusd_laptopstatus.lua
~/.ion3 $ wget http://modeemi.fi/~tuomov/repos/ion-scripts-3/statusd/statusd_volume2.lua -O statusd_volume.lua
~/.ion3 $
~/.ion3 $ cat cfg_ion.lua
-- Deprecated.
dopath("cfg_user", true)
dopath("switch_bindings.lua")

~/.ion3 $ cat cfg_user.lua
defbindings("WMPlex", {
kpress(META.."I", "WFrame.switch_next(_)"),
kpress(META.."D", "detach.toggle_floatws(_, false)"),
kpress(META.."Up", "ioncore.exec_on(_, 'amixer set Master 2+')"),
kpress(META.."Down", "ioncore.exec_on(_, 'amixer set Master 2-')"),
kpress(META.."Left", "ioncore.exec_on(_, 'amixer set Master mute')"),
kpress(META.."Right", "ioncore.exec_on(_, 'amixer set Master unmute')"),
kpress(ALTMETA.."F7", "mod_query.query_renameframe(_)"),
kpress(ALTMETA.."F8", "ioncore.exec_on(_, 'xscreensaver-command -lock')"), })

~/.ion3 $ cat cfg_statusbar.lua
template="[ %date || load: %>load || %iwinfo_ssid %iwinfo_bitrate || CPU: %laptopstatus_cpuspeed %laptopstatus_temperature || BATT: %laptopstatus_batterypercent %laptopstatus_batterytimeleft || vol: %volume_level %volume_state] %filler%systray" ,

~/.ion3 $ cat cfg_kludges.lua
defwinprop {
class = "Gaim",
instance = "gaim",
target = "*scratchpad*",
}

defwinprop {
instance = "Gecko",
class = "Firefox-bin",
target = "thafox",
}

No comments: